Nativescript + Vue项目
NativeScript CLI版本: 5.4.2
package.json
"dependencies": {
"axios": "0.19.0",
"jwt-decode": "2.2.0",
"moment": "^2.24.0",
"nativescript-iqkeyboardmanager": "^1.5.1",
"nativescript-pulltorefresh": "2.3.0",
"nativescript-theme-core": "~1.0.6",
"nativescript-ui-listview": "6.4.2",
"nativescript-vue": "~2.2.2",
"nativescript-vue-navigator": "0.0.3",
"tns-core-modules": "~5.4.3",
"vuex": "3.1.1"
},
"devDependencies": {
"@babel/core": "~7.4.5",
"@babel/preset-env": "~7.4.5",
"babel-loader": "~8.0.6",
"nativescript-dev-webpack": "^0.24.1",
"nativescript-vue-template-compiler": "~2.2.2",
"node-sass": "^4.12.0",
"vue-loader": "^15.7.1"
},当我构建并运行"tns运行“或"tns调试”或使用“在设备上运行”时,设备和模拟器上的同步只在第一次起作用。从第二次获得空白屏幕或得到错误:
调用js方法onCreateView失败 错误:视图已经有了父级。查看:页面(23)父: TabViewItem(22)
我已经尝试过禁用热模块替换,但问题仍在继续。唯一的解决方案是卸载应用程序并重新运行本地构建。
问题同时出现在本地和云构建上.
有什么想法吗?谢谢
发布于 2019-09-25 14:59:00
实际上,我重构了我的NS6应用程序,现在它运行得很好!
https://stackoverflow.com/questions/57096015
复制相似问题