fix:需求单首字母大写

This commit is contained in:
zhangzq
2026-07-08 17:50:55 +08:00
parent d8abb2c50a
commit a147548541
5 changed files with 19 additions and 21 deletions

View File

@@ -125,8 +125,8 @@ export default {
},
getCode() {
getCodeImg().then(res => {
this.codeUrl = res.img
this.loginForm.uuid = res.uuid
this.codeUrl = res.data.img
this.loginForm.uuid = res.data.uuid
})
},
getCookie() {

View File

@@ -91,7 +91,7 @@ export default {
receivedCount() {
// 查询当前用户的未读消息数量
crudNotice.countByReceiveNotRead().then(res => {
this.notReadMsgCount = res
this.notReadMsgCount = res.data
})
},
/**

View File

@@ -211,7 +211,7 @@ export default {
methods: {
getClassNames() {
crudClassstandard.getClassName().then((res) => { // 获取分类名称,查询根据分类编码查找对应分支树
this.classNames = res
this.classNames = res.data
})
},
getClassDatas(tree, treeNode, resolve) {
@@ -273,14 +273,14 @@ export default {
},
getSubTypes(id) {
crudClassstandard.getClassSuperior(id).then(res => {
const date = res.content
const date = res.data
this.buildClass(date)
this.classes = date
})
},
getClass() {
crudClassstandard.getClass({ enabled: true }).then(res => {
this.classes = res.content.map(function(obj) {
this.classes = res.data.map(function(obj) {
if (obj.hasChildren) {
obj.children = null
}

View File

@@ -189,7 +189,7 @@ export default {
methods: {
open() {
crudBsrealstorattr.getStor().then(res => {
this.storlist = res
this.storlist = res.data
})
},
close() {