能力分类进入能力集市,应用领域有选中时,展开
This commit is contained in:
parent
b561eff3ea
commit
05899ab616
|
@ -817,14 +817,14 @@ export default defineComponent({
|
||||||
if (!val) {
|
if (!val) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// todo
|
|
||||||
if (val.name === queryName.value) {
|
if (val.name === queryName.value) {
|
||||||
if (
|
if (
|
||||||
val.selectedTags &&
|
val.selectedTags &&
|
||||||
val.selectedTags.indexOf(selectSubType) == -1
|
val.selectedTags.indexOf(selectSubType) == -1
|
||||||
) {
|
) {
|
||||||
val.selectedTags = [selectSubType]
|
val.selectedTags = [selectSubType]
|
||||||
// changeShrink(queryName.value)
|
// 展开
|
||||||
|
changeShrink(queryName.value)
|
||||||
} else {
|
} else {
|
||||||
val.selectedTags &&
|
val.selectedTags &&
|
||||||
val.selectedTags.splice(
|
val.selectedTags.splice(
|
||||||
|
@ -1279,7 +1279,7 @@ export default defineComponent({
|
||||||
let info = { attrType: queryName.value, attrValue: selectSubType }
|
let info = { attrType: queryName.value, attrValue: selectSubType }
|
||||||
paramsGetResources.infoList.push(info)
|
paramsGetResources.infoList.push(info)
|
||||||
}
|
}
|
||||||
// changeShrink(queryName.value)
|
changeShrink(queryName.value)
|
||||||
paramsGetResources.type = select
|
paramsGetResources.type = select
|
||||||
console.log('paramsGetResources---onMounted--------->', paramsGetResources);
|
console.log('paramsGetResources---onMounted--------->', paramsGetResources);
|
||||||
}
|
}
|
||||||
|
@ -1295,6 +1295,7 @@ export default defineComponent({
|
||||||
if (searchValue.value && !select) {
|
if (searchValue.value && !select) {
|
||||||
globalSearch()
|
globalSearch()
|
||||||
} else {
|
} else {
|
||||||
|
// 判断在首页选择了具体的类型
|
||||||
judgeHasSubSelectType()
|
judgeHasSubSelectType()
|
||||||
getAppResources2()
|
getAppResources2()
|
||||||
listKey.value++
|
listKey.value++
|
||||||
|
|
Loading…
Reference in New Issue