mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-25 22:44:13 +00:00
perf:创建api key,弹窗关闭后刷新列表
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user