组件服务-挂载

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