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