收藏
回答

page空白页的问题

问题模块 框架类型 操作系统 工具版本
开发者工具 小程序 Windows v1.02.1802270

我想反馈一个 Bug :   关于page空白页的问题     没用到JS想用page({  })来替代    可是系统报错说不能用空的JS

问:各位前辈是怎么解决的


BUG:


VM3355:1

Please do not register multiple Pages in undefined.js

console.error @ VM3355:1

t.error @ WAService.js:17

t.pageHolder @ WAService.js:17

(anonymous) @ app.js? [sm]:1

require @ WAService.js:18

(anonymous) @ appservice:1011




VM3355:1

thirdScriptError 

 sdk uncaught third Error 

 APP-SERVICE-Engine:Please do not register multiple Pages in undefined.js 

 Error: APP-SERVICE-Engine:Please do not register multiple Pages in undefined.js

    at new t (http://127.0.0.1:51200/appservice/__dev__/WAService.js:17:22676)

    at t.pageHolder (http://127.0.0.1:51200/appservice/__dev__/WAService.js:17:9269)

    at http://127.0.0.1:51200/appservice/app.js:3:1

    at require (http://127.0.0.1:51200/appservice/__dev__/WAService.js:18:16253)

    at http://127.0.0.1:51200/appservice/appservice:1011:9

console.error @ VM3355:1

(anonymous) @ WAService.js:4

(anonymous) @ WAService.js:4

a @ appservice:1008

window.onerror @ VM3355:1


最后一次编辑于  2018-03-16
回答关注问题邀请回答
收藏