微信小程序自定义弹窗,Loading
var app = getApp();var baseUrl = getApp().baseUrl;//开启toast// flag(1表示成功,2表示失败,msg表示自定义提示信息,time提示显示时长);var Toast = (flag, msg, that, time) => { that.data.toast.flag = flag; that.data.toast.msg = msg; that.data.toast.show = false; th
原创
2018-07-06 15:19:33 ·
5339 阅读 ·
0 评论