updata
This commit is contained in:
parent
420a69c47e
commit
8f11322ce8
|
|
@ -468,6 +468,11 @@
|
|||
} else {
|
||||
if (this.GetIsApp) {
|
||||
launchWechatMiniProgram(res.data.miniProgramOrgId, 0, res.data.prePayTn);
|
||||
setTimeout(() => {
|
||||
uni.webView.reLaunch({
|
||||
url: '/pages/goods/order_list/index'
|
||||
});
|
||||
}, 3000);
|
||||
} else {
|
||||
wx.miniProgram.getEnv((wx) => {
|
||||
if (wx.miniprogram) {
|
||||
|
|
|
|||
|
|
@ -479,6 +479,11 @@
|
|||
} else {
|
||||
if (this.GetIsApp) {
|
||||
launchWechatMiniProgram(res.data.miniProgramOrgId, 0, res.data.prePayTn);
|
||||
setTimeout(() => {
|
||||
uni.webView.reLaunch({
|
||||
url: '/pages/goods/order_list/index'
|
||||
});
|
||||
}, 3000);
|
||||
} else {
|
||||
wx.miniProgram.getEnv((wx) => {
|
||||
if (wx.miniprogram) {
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>在线点餐</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
|
||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><script src="https://h5.dhcc.wang/api/apilink-native.min.js?v=20200701"></script><link rel=stylesheet href=/privilege/static/index.883130ca.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/privilege/static/js/chunk-vendors.05bba68b.js></script><script src=/privilege/static/js/index.fa368475.js></script></body></html>
|
||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><script src="https://h5.dhcc.wang/api/apilink-native.min.js?v=20200701"></script><link rel=stylesheet href=/privilege/static/index.883130ca.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/privilege/static/js/chunk-vendors.05bba68b.js></script><script src=/privilege/static/js/index.4e4d0163.js></script></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -38,15 +38,11 @@ export const launchWechatMiniProgram = (id, type, path) => {
|
|||
wxService.launchMiniProgram({
|
||||
id,
|
||||
type,
|
||||
path
|
||||
},(success) => {
|
||||
console.log(success)
|
||||
},
|
||||
(err) => {
|
||||
return uni.showToast({
|
||||
title: err,
|
||||
icon: 'none',
|
||||
})
|
||||
path,
|
||||
success: (res) => {
|
||||
},
|
||||
error: (err) => {
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
Loading…
Reference in New Issue