You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2018/11/28 07:36:59 UTC

[GitHub] qzcsgs opened a new issue #1834: web端,同一个文件中提前声明weex.requireModule()不生效

qzcsgs opened a new issue #1834: web端,同一个文件中提前声明weex.requireModule()不生效
URL: https://github.com/apache/incubator-weex/issues/1834
 
 
   ## web端同一个文件中
   * undefined is not an object (evaluating 'modal.alert') 
   ```js
   const modal = weex.requireModule('modal')
   modal.alert({ message: 'hello' })
   ```
   * success
   ```js
   weex.requireModule('modal').alert({ message: 'hello' })
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services