mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 16:05:53 +08:00
修改jwt判断token 以及订单金额为0时前台 跳转问题
This commit is contained in:
@@ -164,7 +164,7 @@ import * as API_Trade from "@/api/trade";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
lightColor:this.$lightColor,
|
||||
lightColor: this.$lightColor,
|
||||
discountDetailsFlag: false, //优惠明细开关
|
||||
// 商品栏右侧滑动按钮
|
||||
options: [
|
||||
@@ -499,16 +499,9 @@ export default {
|
||||
}
|
||||
uni.stopPullDownRefresh();
|
||||
uni.hideLoading();
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: result.data.message,
|
||||
duration: 2000,
|
||||
icon: "none",
|
||||
});
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
|
||||
uni.hideLoading();
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user