1

parent 977314a1
...@@ -402,6 +402,7 @@ const payNow = async (data) => { ...@@ -402,6 +402,7 @@ const payNow = async (data) => {
openUrl(res.data.result); openUrl(res.data.result);
xma.removeStorageSync('address'); xma.removeStorageSync('address');
} else { } else {
xma.hideLoading();
groupBuyConfirmFn(prodIds.value, skuIds.value); groupBuyConfirmFn(prodIds.value, skuIds.value);
} }
}); });
...@@ -412,6 +413,7 @@ const payNow = async (data) => { ...@@ -412,6 +413,7 @@ const payNow = async (data) => {
openUrl(res.data.result); openUrl(res.data.result);
xma.removeStorageSync('address'); xma.removeStorageSync('address');
} else { } else {
xma.hideLoading();
sgyrddBasketConfirmFn(basketIds.value); sgyrddBasketConfirmFn(basketIds.value);
} }
}); });
......
...@@ -10,8 +10,8 @@ import { getTokenUser } from '../../api/index'; ...@@ -10,8 +10,8 @@ import { getTokenUser } from '../../api/index';
import { getToken } from '../../utils/auth'; import { getToken } from '../../utils/auth';
onLoad(async (options) => { onLoad(async (options) => {
await signIn(); // await signIn();
// if (!getToken()) await signIn2(); if (!getToken()) await signIn2();
const { type } = options; const { type } = options;
switch (type) { switch (type) {
case '0': case '0':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment