Merge branch 'master' of gitlab.qima-inc.com:weapp/zui

This commit is contained in:
Nino 2017-01-20 17:31:57 +08:00
commit a2310b51a4

6
dist/toast/index.js vendored
View File

@ -12,9 +12,13 @@ module.exports = {
zuiToast
});
zuiToast.timer = setTimeout(() => {
var timer = setTimeout(() => {
this.clearZuiToast();
}, timeout || 3000);
this.setData({
'zuiToast.timer': timer
});
},
clearZuiToast() {