Skip to content

Commit 6f98082

Browse files
committed
update
1 parent d0b3628 commit 6f98082

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

utils/core.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @Author: LiuJia
44
* @LastEditors: LiuJia
55
* @Date: 2019-03-18 19:28:49
6-
* @LastEditTime: 2019-03-18 20:01:39
6+
* @LastEditTime: 2019-03-18 20:23:20
77
*/
88

99
const config = require('./config.js'); //引入config.js
@@ -132,7 +132,6 @@ const phoneReg = (phone = required()) => {
132132
const back = (num, time) => {
133133
const _num = num || 1;
134134
const _time = time || 0;
135-
136135
setTimeout(function () {
137136
wx.navigateBack({
138137
delta: _num,
@@ -217,7 +216,6 @@ const toast = (title = required(), time, icon) => {
217216
},
218217
});
219218
});
220-
221219
return promise;
222220
};
223221

@@ -231,6 +229,6 @@ module.exports = {
231229
back: back, //返回上一页
232230
numFixed: numFixed, //保留数字小数点后N位
233231
showModal: showModal, //模态弹窗
234-
showLoading: showLoading, //显示加载遮罩层
235-
toast: toast, //出现提示
232+
showLoading: showLoading, //显示加载遮罩层
233+
toast: toast, //出现提示
236234
};

0 commit comments

Comments
 (0)