weexteam / article

This repos is a third party collection, and is not developed nor maintained by Apache Weex.
1.22k stars 141 forks source link

Weex引入任意模块问题:`weex.requireModule`为`undefined` #202

Open wangyunjiegit opened 6 years ago

wangyunjiegit commented 6 years ago

按照官网手册的例子 var modal = weex.requireModule('modal') modal.toast({ message: 'This is a toast', duration: 0.3 }) 在chrome中引用任意模块结果都为undefined

在移动端则正常,平时开发都是在chrome中进行,这样会非常不方便,请问有好的解决方案吗