From 7d004e33d4aad9bfe42796d8b500c2520454afba Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Mon, 28 Nov 2022 22:20:18 +0800 Subject: [PATCH] fix: the issue that role edit form cannot be submitted in the permission tab (halo-dev/console#717) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /kind bug /milestone 2.0-rc.2 #### What this PR does / why we need it: 修复在角色编辑时,如果在权限勾选界面,无法提交表单的问题。 #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/2778 #### Special notes for your reviewer: 测试方式: 1. 编辑任意角色或者新建角色。 2. 在编辑弹框中切换到权限勾选界面。 3. 点击提交按钮,观察是否能够正常提交。 #### Does this PR introduce a user-facing change? ```release-note 修复在 Console 端角色编辑时,如果在权限勾选界面,无法提交表单的问题。 ``` --- .../roles/components/RoleEditingModal.vue | 133 ++++++++++-------- 1 file changed, 73 insertions(+), 60 deletions(-) diff --git a/src/modules/system/roles/components/RoleEditingModal.vue b/src/modules/system/roles/components/RoleEditingModal.vue index 00a76015f..22647f711 100644 --- a/src/modules/system/roles/components/RoleEditingModal.vue +++ b/src/modules/system/roles/components/RoleEditingModal.vue @@ -1,5 +1,5 @@