From 22cfaf86655cf40321bc4eac18af70275921fbc7 Mon Sep 17 00:00:00 2001 From: feng626 <1304903146@qq.com> Date: Thu, 11 Aug 2022 17:54:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=8E=88=E6=9D=83?= =?UTF-8?q?=E5=8A=A8=E4=BD=9C=E4=B8=8D=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/perms/components/PermissionFormActionField.vue | 2 +- src/views/tickets/RequestApplicationPerm/CreateUpdate.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/perms/components/PermissionFormActionField.vue b/src/views/perms/components/PermissionFormActionField.vue index c6b299106..bd174cc60 100644 --- a/src/views/perms/components/PermissionFormActionField.vue +++ b/src/views/perms/components/PermissionFormActionField.vue @@ -78,7 +78,7 @@ export default { }, computed: { choicesIDs() { - if (this.actions) { + if (this.actions.length !== 0) { return this.actions } if (this.choices.length === 0) { diff --git a/src/views/tickets/RequestApplicationPerm/CreateUpdate.vue b/src/views/tickets/RequestApplicationPerm/CreateUpdate.vue index b53cbbe2a..bfddc700d 100644 --- a/src/views/tickets/RequestApplicationPerm/CreateUpdate.vue +++ b/src/views/tickets/RequestApplicationPerm/CreateUpdate.vue @@ -64,7 +64,7 @@ export default { component: PermissionFormActionField, helpText: this.$t('common.actionsTips'), el: { - actions: [] + actions: ['all', 'connect'] } }, apply_applications: {