Weex JSEnv 扩展
接口
Map<String, Object> options = new HashMap();
options.set("testVlaue","hello");
//....
instance.render(pagename, template,options);
使用
var value = weex.config.testValue;
console.log(value);
Map<String, Object> options = new HashMap();
options.set("testVlaue","hello");
//....
instance.render(pagename, template,options);
var value = weex.config.testValue;
console.log(value);