mirror of
https://gitee.com/ZhongBangKeJi/crmeb_java.git
synced 2026-04-29 13:51:24 +08:00
紧急修复了一些bug
This commit is contained in:
@@ -221,7 +221,6 @@
|
||||
} from '@/config/app.js';
|
||||
import {
|
||||
getProductDetail,
|
||||
getProductCode,
|
||||
collectAdd,
|
||||
collectDel,
|
||||
postCartAdd,
|
||||
@@ -229,8 +228,7 @@
|
||||
getReplyConfig
|
||||
} from '@/api/store.js';
|
||||
import {
|
||||
getUserInfo,
|
||||
userShare
|
||||
getUserInfo
|
||||
} from '@/api/user.js';
|
||||
import {
|
||||
getCoupons
|
||||
@@ -653,8 +651,8 @@
|
||||
// #ifdef H5
|
||||
that.$set(that, 'storeImage', that.storeInfo.image);
|
||||
if (that.isLogin) {
|
||||
that.getCartCount();
|
||||
that.ShareInfo();
|
||||
};
|
||||
};
|
||||
// #endif
|
||||
if (that.isLogin) {
|
||||
@@ -762,7 +760,7 @@
|
||||
for (let i = 0; i < productAttr.length; i++) {
|
||||
this.$set(productAttr[i], "index", value[i]);
|
||||
}
|
||||
//sort();排序函数:数字-英文-汉字;
|
||||
//sort();排序函数:数字-英文-汉字;
|
||||
let productSelect = this.productValue[value.join(",")];
|
||||
if (productSelect && productAttr.length) {
|
||||
this.$set(
|
||||
@@ -774,7 +772,7 @@
|
||||
this.$set(this.attr.productSelect, "price", productSelect.price);
|
||||
this.$set(this.attr.productSelect, "stock", productSelect.stock);
|
||||
this.$set(this.attr.productSelect, "unique", productSelect.id);
|
||||
this.$set(this.attr.productSelect, "cart_num", 1);
|
||||
this.$set(this.attr.productSelect, "cart_num", 1);
|
||||
this.$set(this, "attrValue", value.join(","));
|
||||
this.$set(this, "attrTxt", "已选择");
|
||||
} else if (!productSelect && productAttr.length) {
|
||||
|
||||
Reference in New Issue
Block a user