详细问题描述
使用HbuilderX开发uni-app,有用到vuex的store,在微信小程序里没有任何问题,但是导出安卓app或者连接安卓终端调试会报这个错误:TypeError: undefined is not an object (evaluating 'this.$store.state'),除此之外没有任何具体信息。
使用HbuilderX开发uni-app,有用到vuex的store,在微信小程序里没有任何问题,但是导出安卓app或者连接安卓终端调试会报这个错误:TypeError: undefined is not an object (evaluating 'this.$store.state'),除此之外没有任何具体信息。