uni.app运行到真机白屏报
11:17:45.415 TypeError: uni.getStorageSync is not a function at view.umd.min.js:1
11:17:45.469 TypeError: Cannot read property 'addVData' of undefined at view.umd.min.js:1
原因因为引用封装的接口时把封装的接口名称写到了components内,注销或者删除接口名称即可解决
uni.app运行到真机白屏报
11:17:45.415 TypeError: uni.getStorageSync is not a function at view.umd.min.js:1
11:17:45.469 TypeError: Cannot read property 'addVData' of undefined at view.umd.min.js:1
原因因为引用封装的接口时把封装的接口名称写到了components内,注销或者删除接口名称即可解决