From e96322043649fdc8fc02d886ac19cf8342a43248 Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期一, 04 十一月 2024 11:37:13 +0800 Subject: [PATCH] 在登录时判断用户密码过期需要修改时,由于还未登录去获取当前Session的用户时,是null,所以导致报错,增加如果为空,直接使用界面传的用户。 --- Source/plt-web/plt-web-ui/src/api/modeling/businessType/api.js | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/api/modeling/businessType/api.js b/Source/plt-web/plt-web-ui/src/api/modeling/businessType/api.js index ccac952..7d9eda4 100644 --- a/Source/plt-web/plt-web-ui/src/api/modeling/businessType/api.js +++ b/Source/plt-web/plt-web-ui/src/api/modeling/businessType/api.js @@ -98,3 +98,22 @@ params }); } + +// 鍒犻櫎绱㈠紩 +export function delIndex(params) { + return request({ + url: "/api/btmTypeController/delIndex", + method: "delete", + params + }); +} + +// 鍒涘缓绱㈠紩 +export function addIndex(params) { + return request({ + url: "/api/btmTypeController/addIndex", + method: "post", + data:params + }); +} + -- Gitblit v1.9.3