fix: 应用管理赋权接口报错

* fix: 修改登录后跳转方式

* fix: 修改物模型的其他配置按照类型配置

* feat: 登录密码加密

* fix: 应用管理赋权接口报错
This commit is contained in:
XieYongHong 2023-07-03 15:42:02 +08:00 committed by GitHub
parent 176f1dc211
commit 40d4f7eb3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -151,11 +151,11 @@ const save = async () => {
} else if (props.mode === 'appManger') {
const removeItems = removeKeys.map((key) => ({
id: key,
permissions: props.changedApis[key]?.security,
permissions: props.changedApis[key]?.security?props.changedApis[key]?.security:[],
}));
const addItems = addKeys.map((key) => ({
id: key,
permissions: props.changedApis[key]?.security,
permissions: props.changedApis[key]?.security?props.changedApis[key]?.security:[],
}));
Promise.all([
updateOperations_api(code, '_delete', { operations: removeItems }),