fix:asset 列表页module点击BUG修复

This commit is contained in:
wangwenrui
2020-01-16 11:33:30 +08:00
parent ea224c512d
commit e8bdc59b74
2 changed files with 9 additions and 1 deletions

View File

@@ -77,7 +77,7 @@
</div>
<div v-if="item.prop=='Module'">
<div v-if="scope.row.moduleNum > 0" @click="getAssetModuleList(scope.row.id)" :id="'asset-module-'+scope.row.id">
<module-list-pop :assetId="scope.row.id + ''" @openModuleBox="openModuleBox" placement="left" :ref="'moduleListPop' + scope.row.id">
<module-list-pop :asset-id="scope.row.id + ''" @openModuleBox="openModuleBox" placement="left" :ref="'moduleListPop' + scope.row.id">
<template v-slot:optionZone>
<div class="tab-input-square tab-input-square-high link" >{{scope.row.moduleNum}}</div>
</template>

View File

@@ -63,6 +63,14 @@ export default {
show(show) {
this.popBox.show = show;
}
},
watch:{
assetId:{
immediate:true,
handler(n,o){
this.pageObj.assetId=n;
}
}
}
}
</script>