From f3c111bb9d6e0dc42a3e743dcfa2e0f1b0ef1714 Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期五, 04 九月 2026 13:30:58 +0800
Subject: [PATCH] fix(wls): 仓库/库区/库位表单「是否冻结」补充默认值 false,避免不操作开关时空值提交报错
---
src/api/system/user/index.ts | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/api/system/user/index.ts b/src/api/system/user/index.ts
index cc7ce13..208d4b9 100644
--- a/src/api/system/user/index.ts
+++ b/src/api/system/user/index.ts
@@ -116,8 +116,8 @@
}
/** 閫氳繃瑙掕壊鏍囪瘑鑾峰彇鐢ㄦ埛绮剧畝淇℃伅鍒楄〃 */
-export function getSimpleUserListByRoleCode(code: string) {
+export function getSimpleUserListByRoleCode(code: Object) {
return requestClient.get<SystemUserApi.UserSimple[]>('/system/user/list-by-role-code', {
- params: { code },
+ params: code ,
});
}
--
Gitblit v1.9.3