BUG修改

This commit is contained in:
a0049873 2022-11-14 09:40:54 +08:00
parent f8ff6805c1
commit 11a959022c
2 changed files with 10 additions and 4 deletions

View File

@ -1195,11 +1195,16 @@
arr.sort((a, b) => {
return sortArr.indexOf(a) - sortArr.indexOf(b)
})
console.log('arr', arr)
if (Cardsname.value === arr[0]) {
getAppResources2()
} else {
console.log('arr', arr, Cardsname.value)
// if (Cardsname.value === arr[0]) {
// getAppResources2()
// } else {
// changeCards(arr[0])
// }
if (arr[0]) {
changeCards(arr[0])
} else {
changeCards('应用资源')
}
if (!mapFlag) {
return

View File

@ -376,6 +376,7 @@
//
const changeType = (item, index) => {
contentList.data = []
formState.value.name = ''
console.log('item, index-----选择类型------->', item, index)
numFlag.value = true