From ce6ca288b7ed48c2091f021cb7b822c8dd1c5e1c Mon Sep 17 00:00:00 2001 From: Bai Date: Fri, 17 Mar 2023 14:55:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=8E=88=E6=9D=83?= =?UTF-8?q?=E8=A7=84=E5=88=99=E5=88=9B=E5=BB=BA=E8=B4=A6=E5=8F=B7=E6=A8=A1?= =?UTF-8?q?=E7=89=88=E5=BC=B9=E7=AA=97=E5=8F=96=E6=B6=88=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E4=B8=8D=E7=94=9F=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../perms/AssetPermission/components/AccountFormatter.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/perms/AssetPermission/components/AccountFormatter.vue b/src/views/perms/AssetPermission/components/AccountFormatter.vue index 81f225979..2447896c1 100644 --- a/src/views/perms/AssetPermission/components/AccountFormatter.vue +++ b/src/views/perms/AssetPermission/components/AccountFormatter.vue @@ -36,6 +36,7 @@ :title="$tc('accounts.AccountTemplate')" :visible.sync="showAccountTemplateDialog" @confirm="handleAccountTemplateConfirm" + @cancel="handleAccountTemplateCancel" > @@ -179,6 +180,9 @@ export default { this.choicesSelected = choicesSelected this.specAccountsInput = specAccountsInput }, + handleAccountTemplateCancel() { + this.showAccountTemplateDialog = false + }, handleAccountTemplateConfirm() { this.specAccountsTemplate = this.$refs.templateTable.selectedRows const added = this.specAccountsTemplate.map(i => i.username)