From 8111ed9a8472143e312eb5043d1ba0f1ba5c7096 Mon Sep 17 00:00:00 2001 From: LiuHao Date: Wed, 12 Apr 2023 10:23:18 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E8=87=AA=E5=AE=9A=E4=B9=89=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=9D=83=E9=99=90=E9=83=A8=E9=97=A8=E4=B8=A2=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/role/types.ts | 2 +- src/views/system/role/index.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/system/role/types.ts b/src/api/system/role/types.ts index 4558c78..7dbb6ff 100644 --- a/src/api/system/role/types.ts +++ b/src/api/system/role/types.ts @@ -45,7 +45,7 @@ export interface RoleForm { menuCheckStrictly: boolean; deptCheckStrictly: boolean; remark: string; - dataScope?: number; + dataScope?: string; roleId: string | undefined; menuIds: Array; deptIds: Array; diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index 04fc3df..48ed9c9 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -164,7 +164,7 @@ - + 展开/折叠 全选/全不选 父子联动 @@ -243,7 +243,7 @@ const initForm: RoleForm = { menuCheckStrictly: true, deptCheckStrictly: true, remark: '', - dataScope: 1, + dataScope: '1', menuIds: [], deptIds: [], }