rbac: 完善信息弹窗修复双窗口+添加标题

This commit is contained in:
Hermes Agent 2026-06-18 11:09:46 +08:00
parent 947638853f
commit 2ea45cd380
2 changed files with 61 additions and 67 deletions

View File

@ -17,15 +17,6 @@ async with db.sqlorContext(dbname) as sor:
address = user.address or '' address = user.address or ''
return { return {
"widgettype": "PopupWindow",
"options": {
"cwidth": 22,
"height": "75%",
"archor": "cc",
"auto_open": True
},
"subwidgets": [
{
"widgettype": "Form", "widgettype": "Form",
"options": { "options": {
"title": "完善个人信息", "title": "完善个人信息",
@ -86,5 +77,3 @@ return {
} }
] ]
} }
]
}

View File

@ -35,7 +35,12 @@
{ {
"name":"editprofile", "name":"editprofile",
"label":"完善信息", "label":"完善信息",
"url":"{{entire_url('user/edit_profile.dspy')}}" "url":"{{entire_url('user/edit_profile.dspy')}}",
"popup_options":{
"title":"完善个人信息",
"cwidth":22,
"height":"75%"
}
}, },
{ {
"name":"logout", "name":"logout",