提交 b66cf29a 编写于 作者: ibizdev's avatar ibizdev

lxm1993 发布系统代码 [TrainSys,网页端]

上级 6e56361d
......@@ -72,7 +72,7 @@
"logicTrigger" : "VIEWEVENT",
"logicType" : "SCRIPT",
"name" : "ONMOUNTED",
"scriptCode" : "console.log('视图逻辑');\r\nconst map = view.getController('map');\r\nmap.evt.onAll((eventName, event) => {\r\n console.log(eventName, event);\r\n});"
"scriptCode" : "console.log('视图逻辑');\r\nconst map = view.getController('map');\r\nmap.evt.onAll((eventName, event) => {\r\n if(eventName === 'onMapChange'){\r\n console.log('逻辑监听地图变更,areaCode:', event.areaCode);\r\n }\r\n});"
} ],
"getPSControls" : [ {
"codeName" : "Map",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册