fix:修复配置同步弹窗 关闭时未触发close回调

This commit is contained in:
zyh
2023-08-02 14:13:21 +08:00
parent 1513e37a49
commit 11015f1b2e

View File

@@ -6,7 +6,6 @@
<el-dialog <el-dialog
class="configSync-dialog" class="configSync-dialog"
:title="$t('deleteButton.confirm')" :title="$t('deleteButton.confirm')"
v-if="dialogVisible"
:visible.sync="dialogVisible" :visible.sync="dialogVisible"
@close='handleClose' @close='handleClose'
width="580px" width="580px"
@@ -61,8 +60,8 @@ export default {
batchData: [], batchData: [],
idArr: [], idArr: [],
syncBox: { syncBox: {
endpoint: undefined, endpoint: false,
dashboard: undefined dashboard: false
}, },
checkAll: false, checkAll: false,
isIndeterminate: false isIndeterminate: false
@@ -102,8 +101,8 @@ export default {
}, },
handleClose () { handleClose () {
this.dialogVisible = false this.dialogVisible = false
this.syncBox.endpoint = undefined this.syncBox.endpoint = false
this.syncBox.dashboard = undefined this.syncBox.dashboard = false
}, },
checkAllChange (value) { checkAllChange (value) {
const allId = this.batchData.map(item => { const allId = this.batchData.map(item => {