rbac: 完善信息弹窗修复双窗口+添加标题
This commit is contained in:
parent
947638853f
commit
2ea45cd380
@ -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": "完善个人信息",
|
||||||
@ -85,6 +76,4 @@ return {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user