NEZ-2479 fix:选中提示范围与实际点击生效范围不一致

This commit is contained in:
zhangyu
2022-12-27 15:43:38 +08:00
parent a9532937da
commit 153268bd5d
47 changed files with 242 additions and 267 deletions

View File

@@ -7,7 +7,7 @@
</div>
<button v-if="this.type === 'btn'" class="table-operation-item delete-button" :id="id" @click="batchDelete" :title="$t('overall.delete')"><i class="nz-icon nz-icon-delete"></i></button>
<div v-if="this.type === 'link'" :id="id" @click="batchDelete">
<span><i class="nz-icon nz-icon-delete" ></i>{{title}}</span>
<span class="nz-el-dropdown-item-del"><i class="nz-icon nz-icon-delete" ></i>{{title}}</span>
</div>
<el-dialog
ref="batchDeleteDialog"
@@ -280,6 +280,13 @@ export default {
}
return ' '
}
},
watch: {
dialogVisible (n) {
if (!n) {
this.$store.dispatch('dispatchShowDeleteTableRel', false)
}
}
}
}
</script>