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 2019/06/05 03:44:34 UTC

[GitHub] [incubator-weex] aidy-automan opened a new issue #2513: globalEvent 监听无返回

aidy-automan opened a new issue #2513: globalEvent 监听无返回
URL: https://github.com/apache/incubator-weex/issues/2513
 
 
   js 
      created(){
           weex.requireModule('globalEvent').addEventListener('barcode_scanner', function(e) {
               this.userNumber = "11111111"
           });
       },
   
   android
       WXSDKInstance mWXSDKInstance = new WXSDKInstance(WXPageActivity.this);
       mWXSDKInstance.fireGlobalEventCallback("barcode_scanner", param);

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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