优化app中订单时间问题

master
lemon橪 2021-08-23 11:54:27 +08:00
parent a2994454aa
commit 8f5f44022b
2 changed files with 13 additions and 7 deletions

View File

@ -2,6 +2,10 @@
// launchtypelocalremote, localremote // launchtypelocalremote, localremote
"version": "0.0", "version": "0.0",
"configurations": [{ "configurations": [{
"app-plus" :
{
"launchtype" : "remote"
},
"default" : "default" :
{ {
"launchtype" : "remote" "launchtype" : "remote"

View File

@ -162,10 +162,7 @@
// #endif // #endif
// #ifndef APP-PLUS
//
var ua = window.navigator.userAgent.toLowerCase();
// #endif
@ -178,15 +175,20 @@
else{ else{
this.payList = res.data.result.support; this.payList = res.data.result.support;
} }
// #ifndef APP-PLUS
// #endif //
var ua = window.navigator.userAgent.toLowerCase();
if (ua.match(/MicroMessenger/i) == 'micromessenger') { if (ua.match(/MicroMessenger/i) == 'micromessenger') {
console.log("微信浏览器")
this.payList = res.data.result.support.filter((item) => { this.payList = res.data.result.support.filter((item) => {
return item != "ALIPAY"; return item != "ALIPAY";
}); });
} }
// #endif
// #endif
this.walletValue = res.data.result.walletValue; this.walletValue = res.data.result.walletValue;
this.autoCancel = this.autoCancel =