fix: 菜单script单引号被shell吞掉导致AsyncFunction语法错——补回引号
This commit is contained in:
parent
4404b88467
commit
075de0c0eb
@ -104,25 +104,25 @@
|
||||
"name": "scense_demo",
|
||||
"label": "实时演示",
|
||||
"icon": "",
|
||||
"script": "var d={name:scense_demo,label:实时演示,content:{widgettype:urlwidget,options:{url:/scense_demo/index.ui}}};if(!this.opts.items.find(function(i){return i.name===scense_demo})){this.opts.items.push(d);this.add_tab(d)}this.show_tabcontent({params:{name:scense_demo}})"
|
||||
"script": "var d={name:'scense_demo',label:'实时演示',content:{widgettype:'urlwidget',options:{url:'/scense_demo/index.ui'}}};if(!this.opts.items.find(function(i){return i.name==='scense_demo'})){this.opts.items.push(d);this.add_tab(d)}this.show_tabcontent({params:{name:'scense_demo'}})"
|
||||
},
|
||||
{
|
||||
"name": "scense_game",
|
||||
"label": "游戏展示",
|
||||
"icon": "",
|
||||
"script": "var d={name:scense_game,label:游戏展示,content:{widgettype:urlwidget,options:{url:/scense_game/game/index.ui}}};if(!this.opts.items.find(function(i){return i.name===scense_game})){this.opts.items.push(d);this.add_tab(d)}this.show_tabcontent({params:{name:scense_game}})"
|
||||
"script": "var d={name:'scense_game',label:'游戏展示',content:{widgettype:'urlwidget',options:{url:'/scense_game/game/index.ui'}}};if(!this.opts.items.find(function(i){return i.name==='scense_game'})){this.opts.items.push(d);this.add_tab(d)}this.show_tabcontent({params:{name:'scense_game'}})"
|
||||
},
|
||||
{
|
||||
"name": "scense_drag",
|
||||
"label": "拖拽编程",
|
||||
"icon": "",
|
||||
"script": "var d={name:scense_drag,label:拖拽编程,content:{widgettype:urlwidget,options:{url:/scense_drag/editor.ui}}};if(!this.opts.items.find(function(i){return i.name===scense_drag})){this.opts.items.push(d);this.add_tab(d)}this.show_tabcontent({params:{name:scense_drag}})"
|
||||
"script": "var d={name:'scense_drag',label:'拖拽编程',content:{widgettype:'urlwidget',options:{url:'/scense_drag/editor.ui'}}};if(!this.opts.items.find(function(i){return i.name==='scense_drag'})){this.opts.items.push(d);this.add_tab(d)}this.show_tabcontent({params:{name:'scense_drag'}})"
|
||||
},
|
||||
{
|
||||
"name": "scense_runtime",
|
||||
"label": "运行时",
|
||||
"icon": "",
|
||||
"script": "var d={name:scense_runtime,label:运行时,content:{widgettype:urlwidget,options:{url:/scense_runtime/index.ui}}};if(!this.opts.items.find(function(i){return i.name===scense_runtime})){this.opts.items.push(d);this.add_tab(d)}this.show_tabcontent({params:{name:scense_runtime}})"
|
||||
"script": "var d={name:'scense_runtime',label:'运行时',content:{widgettype:'urlwidget',options:{url:'/scense_runtime/index.ui'}}};if(!this.opts.items.find(function(i){return i.name==='scense_runtime'})){this.opts.items.push(d);this.add_tab(d)}this.show_tabcontent({params:{name:'scense_runtime'}})"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user