组件服务-挂载

This commit is contained in:
gaoyuanwei 2022-07-20 15:06:57 +08:00
parent 29a5016590
commit 2330dd5680
1 changed files with 13 additions and 13 deletions

View File

@ -386,19 +386,19 @@ export default {
this.mixinViewModuleOptions.requestCallback(res.data)
}
this.dataListLoading = false
this.dataList.map((item, index) => {
const dataListSinforList = []
item.infoList.map((itemson, indexson) => {
if (
itemson.attrType === '部署位置' ||
itemson.attrType === '组件类型' ||
itemson.attrType === '应用领域'
) {
dataListSinforList.push(itemson)
}
})
this.dataList[index].infoList = dataListSinforList
})
// this.dataList.map((item, index) => {
// const dataListSinforList = []
// item.infoList.map((itemson, indexson) => {
// if (
// itemson.attrType === '' ||
// itemson.attrType === '' ||
// itemson.attrType === ''
// ) {
// dataListSinforList.push(itemson)
// }
// })
// this.dataList[index].infoList = dataListSinforList
// })
} else {
this.$message.error('未查询到相关信息')
this.reset()