|
@@ -121,10 +121,8 @@ const addCart = async (item) => {
|
|
if (result.data.status==200) {
|
|
if (result.data.status==200) {
|
|
return Dialog.toast({ content: `添加成功`, type: 'success' })
|
|
return Dialog.toast({ content: `添加成功`, type: 'success' })
|
|
} else{
|
|
} else{
|
|
- Dialog.toast({ content: `登录状态失效,请重新登录`, type: 'error' })
|
|
|
|
- setTimeout(() => {
|
|
|
|
|
|
+ // Dialog.toast({ content: `登录状态失效,请重新登录`, type: 'error' })
|
|
browser.openLink(`/pages/login/login`,`https://m.cdfmembers.com/shop/600667208/h5login?redirectUrl=${encodeURIComponent(window.location.href)}`)
|
|
browser.openLink(`/pages/login/login`,`https://m.cdfmembers.com/shop/600667208/h5login?redirectUrl=${encodeURIComponent(window.location.href)}`)
|
|
- }, 700);
|
|
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|