|
[开发工具]
addEventListener
[复制链接]
apiready() {
this.data.userKey = UserCenter.getAccessToken();
this.data.appKey = _config.appkey || "0";
this.GetApplyList();
console.log("1111111111111111111111111");
api.addEventListener({
name: 'tabitembtn'
}, function (ret) {
console.log('点击了第' + (ret.index + 1) + '项');
api.setTabBarAttr({
index: ret.index
});
this.GetApplyList();
});
// this.GetorderList();
},
这个不能调用吗?this.GetApplyList(); 这个调用不了 我要怎么调用当前页面的方法 是AVM
|
|