The h5 is running normally, and the following error occurs in the uniapp real machine debugging:
reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot read property 'getItem' of undefined
19:41:23.973 at (app-service.js:6028:39)
19:41:24.004 at (app-service.js:6743:3)
There is no cookie, session.storage in uniapp. Change to
- uni.setStorageSync(KEY, DATA)
- uni.getStorage(OBJECT)
can