From 7f8f69f00ea03a08dc2f0c5fe1043beb733485a1 Mon Sep 17 00:00:00 2001 From: ray <1490493387@qq.com> Date: Fri, 1 Nov 2024 15:17:20 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20:recycle:=20=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E7=BC=96=E7=A0=81=E8=AE=BE=E7=BD=AE=E4=B8=BA?= =?UTF-8?q?=E5=8F=AF=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/role.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/system/role.ts b/src/api/system/role.ts index 95188796..cc21e342 100644 --- a/src/api/system/role.ts +++ b/src/api/system/role.ts @@ -126,11 +126,11 @@ export interface RoleForm { /** 角色ID */ id?: number; /** 角色编码 */ - code: string; + code?: string; /** 数据权限 */ dataScope?: number; /** 角色名称 */ - name: string; + name?: string; /** 排序 */ sort?: number; /** 角色状态(1-正常;0-停用) */