wangfukang 2 years ago
parent
commit
7961bee7bd
  1. 7
      common/httpRequest.js

7
common/httpRequest.js

@ -7,11 +7,10 @@ const tui = {
},
toast: function(text, duration, success) {
uni.showToast({
// #ifndef MP-ALIPAY
duration: duration || 2000,
// #endif
title: text || "出错啦~",
icon: success ? 'success' : 'none'
icon: success ? 'success' : 'none',
mask:true
})
},
modal: function(title, content, showCancel, callback, confirmColor, confirmText) {
@ -47,9 +46,7 @@ const tui = {
},
constNum: function() {
let time = 0;
// #ifdef APP-PLUS
time = this.isAndroid() ? 300 : 0;
// #endif
return time
},
delayed: null,

Loading…
Cancel
Save