fix: 客户菜单添加仪表盘入口, 修复已登录用户右侧内容不加载问题
1. global_menu.ui: 客户菜单首位添加dashboard菜单项 2. index.ui: sage_main_content默认子组件改为urlwidget直接加载dashboard, 解决已登录用户页面加载时user_logined事件不触发导致内容区空白的问题
This commit is contained in:
parent
318bca0a08
commit
e6e732227f
@ -11,6 +11,13 @@
|
|||||||
"items": [
|
"items": [
|
||||||
{% if is_customer %}
|
{% if is_customer %}
|
||||||
{
|
{
|
||||||
|
"name": "dashboard",
|
||||||
|
"label": "仪表盘",
|
||||||
|
"icon": "{{entire_url('/imgs/dashboard.svg')}}",
|
||||||
|
"url": "{{entire_url('/dashboard_for_sage/index.ui')}}",
|
||||||
|
"target": "app.sage_main_content"
|
||||||
|
}
|
||||||
|
,{
|
||||||
"name": "model_plaza",
|
"name": "model_plaza",
|
||||||
"label": "模型广场",
|
"label": "模型广场",
|
||||||
"icon": "{{entire_url('/imgs/cubes.svg')}}",
|
"icon": "{{entire_url('/imgs/cubes.svg')}}",
|
||||||
|
|||||||
@ -170,11 +170,9 @@
|
|||||||
],
|
],
|
||||||
"subwidgets": [
|
"subwidgets": [
|
||||||
{
|
{
|
||||||
"widgettype": "Text",
|
"widgettype": "urlwidget",
|
||||||
"options": {
|
"options": {
|
||||||
"css": "sage-text-secondary",
|
"url": "{{entire_url('/dashboard_for_sage/index.ui')}}"
|
||||||
"text": "加载中...",
|
|
||||||
"fontSize": "16px"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user