Salesforce LWC Uncatch(承诺中)类型错误:无法读取未定义的属性'Symbol(ViewModel)'



我在运行 Salesforce 临时组织应用程序时收到此错误;

aura_proddebug.js:274 Uncaught (in promise) TypeError: Cannot read property 'Symbol(ViewModel)' of undefined
at getInternalField (aura_proddebug.js:274)
at Object.update (aura_proddebug.js:1793)
at updateCustomElmDefaultHook (aura_proddebug.js:5627)
at Object.update (aura_proddebug.js:5779)
at patchVnode (aura_proddebug.js:5021)
at updateStaticChildren (aura_proddebug.js:5000)
at aura_proddebug.js:5542
at runWithBoundaryProtection (aura_proddebug.js:8255)
at updateChildrenHook (aura_proddebug.js:5541)
at Object.update (aura_proddebug.js:5751)

以前有人经历过吗?

我实际上能够发现问题。

这个错误之前在我的组织中已经抛出过,当时我要么没有.html文件,要么以某种方式拼写不正确; 包括名称上区分大小写。

请参阅此处的相关内容:

相关内容

最新更新