功能变化: 优化个人中心修改密码后强制退出登录状态

This commit is contained in:
猿小天
2024-06-22 22:53:59 +08:00
parent 37a0167193
commit 354d230c2a
5 changed files with 31 additions and 12 deletions

View File

@@ -218,7 +218,10 @@ export const createCrudOptions = function ({crudExpose}: CreateCrudOptionsProps)
label: 'name'
}),
column: {
minWidth: 150, //最小列宽
minWidth: 200, //最小列宽
formatter({value,row,index}){
return row.dept_name_all
}
},
form: {
rules: [
@@ -253,7 +256,11 @@ export const createCrudOptions = function ({crudExpose}: CreateCrudOptionsProps)
label: 'name',
}),
column: {
minWidth: 100, //最小列宽
minWidth: 200, //最小列宽
formatter({value,row,index}){
const values = row.role_info.map((item:any) => item.name);
return values.join(',')
}
},
form: {
rules: [