From 8f9c186343c7563017984eaf7c37d63da9995d86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chuailei000=E2=80=9D?= <2280131253@qq.com> Date: Wed, 1 Feb 2023 19:14:13 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E8=B5=84=E4=BA=A7=E8=AF=A6=E6=83=85-?= =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E5=88=97=E8=A1=A8=E5=AF=BC=E5=85=A5=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=88=9B=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AccountListTable/AccountList.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/AccountListTable/AccountList.vue b/src/components/AccountListTable/AccountList.vue index aebe386a1..9c32c626b 100644 --- a/src/components/AccountListTable/AccountList.vue +++ b/src/components/AccountListTable/AccountList.vue @@ -249,6 +249,10 @@ export default { url: this.exportUrl, mfaVerifyRequired: true }, + importOptions: { + canImportCreate: this.$hasPerm('accounts.add_account'), + canImportUpdate: this.$hasPerm('accounts.change_account') + }, extraActions: [ { name: 'add',