fix: urlwidget+target Popup pattern (same as top.ui menu)

This commit is contained in:
yumoqing 2026-07-23 13:33:21 +08:00
parent 4388868619
commit b7d30d4238

View File

@ -13,7 +13,8 @@
"subwidgets": [ "subwidgets": [
{"widgettype": "Text", "options": {"text": "知识库", "cfontsize": 22, "fontWeight": "bold", "color": "#333"}}, {"widgettype": "Text", "options": {"text": "知识库", "cfontsize": 22, "fontWeight": "bold", "color": "#333"}},
{"widgettype": "Button", "options": {"label": "+ 新建知识库", "bgcolor": "#4a90d9", "color": "#fff"}, "binds": [ {"widgettype": "Button", "options": {"label": "+ 新建知识库", "bgcolor": "#4a90d9", "color": "#fff"}, "binds": [
{"wid": "self", "event": "click", "actiontype": "PopupWindow", {"wid": "self", "event": "click", "actiontype": "urlwidget",
"target": "Popup",
"options": {"url": "{{entire_url('/knowledge_bases_list/new_kb_form.ui')}}"}} "options": {"url": "{{entire_url('/knowledge_bases_list/new_kb_form.ui')}}"}}
]} ]}
] ]