fix: target使用-main_content向上搜索父容器

This commit is contained in:
yumoqing 2026-06-12 01:01:03 +08:00
parent faa8a62e77
commit 8bf090c177

View File

@ -30,7 +30,7 @@
{ {
"widgettype": "Menu", "widgettype": "Menu",
"options": { "options": {
"target": "main_content", "target": "-main_content",
"cwidth": 12, "cwidth": 12,
"items": [ "items": [
{ {
@ -68,7 +68,7 @@
"wid": "self", "wid": "self",
"event": "click", "event": "click",
"actiontype": "urlwidget", "actiontype": "urlwidget",
"target": "main_content", "target": "-main_content",
"options": { "options": {
"url": "{{entire_url('/rbac/user/')}}" "url": "{{entire_url('/rbac/user/')}}"
}, },
@ -127,7 +127,7 @@
"wid": "self", "wid": "self",
"event": "click", "event": "click",
"actiontype": "urlwidget", "actiontype": "urlwidget",
"target": "main_content", "target": "-main_content",
"options": { "options": {
"url": "{{entire_url('/pipeline_core/')}}" "url": "{{entire_url('/pipeline_core/')}}"
}, },
@ -146,7 +146,7 @@
"wid": "self", "wid": "self",
"event": "click", "event": "click",
"actiontype": "urlwidget", "actiontype": "urlwidget",
"target": "main_content", "target": "-main_content",
"options": { "options": {
"url": "{{entire_url('/pipeline_ops/')}}" "url": "{{entire_url('/pipeline_ops/')}}"
}, },
@ -165,7 +165,7 @@
"wid": "self", "wid": "self",
"event": "click", "event": "click",
"actiontype": "urlwidget", "actiontype": "urlwidget",
"target": "main_content", "target": "-main_content",
"options": { "options": {
"url": "{{entire_url('/pipeline_dist/')}}" "url": "{{entire_url('/pipeline_dist/')}}"
}, },
@ -184,7 +184,7 @@
"wid": "self", "wid": "self",
"event": "click", "event": "click",
"actiontype": "urlwidget", "actiontype": "urlwidget",
"target": "main_content", "target": "-main_content",
"options": { "options": {
"url": "{{entire_url('/pipeline_task/')}}" "url": "{{entire_url('/pipeline_task/')}}"
}, },