fix:修改dc批量删除机柜未更新列表的问题
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
class="nz-btn nz-btn-size-normal nz-btn-style-light float-right margin-l-20" id="cab-add">
|
||||
<i class="nz-icon-create-square nz-icon"></i>
|
||||
</button>
|
||||
<delete-button :delete-objs="batchDeleteObjs" @after="getTableData" api="cabinet" v-has="'dc_cabinet_delete'"></delete-button>
|
||||
<delete-button :delete-objs="batchDeleteObjs" @after="allDelAfter" api="cabinet" v-has="'dc_cabinet_delete'"></delete-button>
|
||||
</div>
|
||||
</div>
|
||||
<el-table
|
||||
@@ -256,6 +256,10 @@
|
||||
})
|
||||
})
|
||||
},
|
||||
allDelAfter(){
|
||||
this.getTableData();
|
||||
this.$store.commit('setDcDataRefresh');
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
obj: {
|
||||
|
||||
Reference in New Issue
Block a user