perf:创建api key,弹窗关闭后刷新列表

This commit is contained in:
“huailei000”
2023-10-12 15:50:00 +08:00
committed by huailei
parent ae2391f07f
commit 6a8161dcaf

View File

@@ -17,7 +17,8 @@
:title="$tc('profile.CreateAccessKey')"
:visible.sync="visible"
width="700px"
@confirm="visible = false"
@close="onClose"
@confirm="onConfirm"
>
<el-alert type="warning">
{{ warningText }}
@@ -151,6 +152,13 @@ export default {
setTimeout(() => {
this.mfaDialogVisible = false
})
},
onClose() {
this.getRefsListTable.reloadTable()
},
onConfirm() {
this.visible = false
this.getRefsListTable.reloadTable()
}
}
}