|
楼主 |
2020-11-18 17:38:06
显示全部楼层
本帖最后由 月亮邮递员 于 2020-11-18 17:39 编辑
### App Framework ### 创建页面 26----应用Id: 1
web.js:1 [sitemap info] setTitleBar 设置的title为: 关于我们
web.js:1 ### App Framework ### 启动页面---- @app-component/index
### App Framework ### 销毁页面(26)----
正常情况下,打开一个页面会创建一个页面,返回的时候会销毁这个页面。
然后我打开一个页面的时候却创建了两个页面栈,到时后退的时候报错
### App Framework ### 创建页面 28----应用Id: 1
web.js:1 ### App Framework ### 创建页面 29----应用Id: 1
web.js:1 ### App Framework ### 启动页面---- @app-component/index
web.js:1 Uncaught TypeError: Cannot read property 'titlebar' of undefined
at web.js:1
at Object.navigateTo (web.js:1)
at web.js:1
(anonymous) @ web.js:1
navigateTo @ web.js:1
(anonymous) @ web.js:1
electron/js2c/renderer_init.js:114 Uncaught TypeError: r.process.listenerCount is not a function
at window.onerror (electron/js2c/renderer_init.js:114)
window.onerror @ electron/js2c/renderer_init.js:114
web.js:1 Uncaught TypeError: Cannot read property '_callbacks' of undefined
at en (web.js:1)
at setTimeout (web.js:1)
at HTMLHtmlElement. (web.js:40)
en @ web.js:1
setTimeout @ web.js:1
(anonymous) @ web.js:40
electron/js2c/renderer_init.js:114 Uncaught TypeError: r.process.listenerCount is not a function
at window.onerror (electron/js2c/renderer_init.js:114)
window.onerror @ electron/js2c/renderer_init.js:114
web.js:1 Error: Runtime changeVisiblePage:无效页面Id: "29"
u.error @ web.js:1
global. @ web.js:1
navigateTo @ web.js:1
(anonymous) @ web.js:1
web.js:1 Error: Runtime destroyPage:无效页面Id: "29"
这是什么原因?什么时候会创建两个页面栈? |
|