MiniProgramError
Cannot read properties of null (reading 'createInstance')
TypeError: Cannot read properties of null (reading 'createInstance')
at y._advancedCreate (https://lib/WASubContext.js:1:240988)
at c.createComponent (https://lib/WASubContext.js:1:254998)
at io (https://lib/WASubContext.js:1:345692)
at so (https://lib/WASubContext.js:1:346622)
at so (https://lib/WASubContext.js:1:346800)
at Io.createInstance (https://lib/WASubContext.js:1:351596)
at y._advancedCreate (https://lib/WASubContext.js:1:240988)
at c.createComponent (https://lib/WASubContext.js:1:254998)
at io (https://lib/WASubContext.js:1:345692)
at so (https://lib/WASubContext.js:1:346622)
上述报错中,变量 createInstance 全局没有用到。在真机环境中页面还白屏