common/Tools.js | ●●●●● patch | view | raw | blame | history |
common/Tools.js
@@ -12,12 +12,13 @@ * 显示消息 * @param msg * @param [duration=2000] * @param [mask=false] */ static toast(msg, duration = 2000) { static toast(msg, duration = 2000, mask = false) { Taro.showToast({ title: msg, icon: 'none', mask: true, mask, duration, }); }