去除测试log;修改购物车无法选中的问题

This commit is contained in:
Gaoxs
2020-09-28 11:02:36 +08:00
parent 4955c2198a
commit b61c95035e
6 changed files with 47 additions and 37 deletions

View File

@ -97,21 +97,21 @@ export default {
},
getActivity: function() {
let that = this;
getActivityStatus().then(
res => {
that.activity.is_bargin = res.data.is_bargin;
that.activity.is_pink = res.data.is_pink;
that.activity.is_seckill = res.data.is_seckill;
},
err => {
uni.showToast({
title:
err.msg || err.response.data.msg || err.response.data.message,
icon: "none",
duration: 2000
});
}
);
// getActivityStatus().then(
// res => {
// that.activity.is_bargin = res.data.is_bargin;
// that.activity.is_pink = res.data.is_pink;
// that.activity.is_seckill = res.data.is_seckill;
// },
// err => {
// uni.showToast({
// title:
// err.msg || err.response.data.msg || err.response.data.message,
// icon: "none",
// duration: 2000
// });
// }
// );
}
}
};