showMsg: function (msg) {
var self = this;
var component = msg.getComponent("SystemInfo");
component.scheduleOnce(function () {
self.hideMsg(msg);
}, 3 );
},
如上面的代码 scheduleOnce无作用了
大概的用法就是 我在一个Component的方法 里给另外一个Component 添加了一个 scheduleOnce 以前这样好用的 现在不行了