能力分类进入能力集市,应用领域有选中时,展开

This commit is contained in:
guoyue 2022-10-25 17:53:17 +08:00
parent b561eff3ea
commit 05899ab616
1 changed files with 4 additions and 3 deletions

View File

@ -817,14 +817,14 @@ export default defineComponent({
if (!val) {
return
}
// todo
if (val.name === queryName.value) {
if (
val.selectedTags &&
val.selectedTags.indexOf(selectSubType) == -1
) {
val.selectedTags = [selectSubType]
// changeShrink(queryName.value)
//
changeShrink(queryName.value)
} else {
val.selectedTags &&
val.selectedTags.splice(
@ -1279,7 +1279,7 @@ export default defineComponent({
let info = { attrType: queryName.value, attrValue: selectSubType }
paramsGetResources.infoList.push(info)
}
// changeShrink(queryName.value)
changeShrink(queryName.value)
paramsGetResources.type = select
console.log('paramsGetResources---onMounted--------->', paramsGetResources);
}
@ -1295,6 +1295,7 @@ export default defineComponent({
if (searchValue.value && !select) {
globalSearch()
} else {
//
judgeHasSubSelectType()
getAppResources2()
listKey.value++