Commit bd4d2b3e by 王志慧

commit

1 parent a65e51a0
...@@ -224,6 +224,7 @@ export default { ...@@ -224,6 +224,7 @@ export default {
this.accountLevel = this.$globalState.session.accountLevel this.accountLevel = this.$globalState.session.accountLevel
} }
this.showGh = window.location.host.indexOf('cgacar') == -1 this.showGh = window.location.host.indexOf('cgacar') == -1
console.log(this.showGh)
if (this.showGh) { if (this.showGh) {
this.getCardContentFun() this.getCardContentFun()
} }
...@@ -312,8 +313,8 @@ export default { ...@@ -312,8 +313,8 @@ export default {
item.couponAmount = item.serviceQuantity item.couponAmount = item.serviceQuantity
item.id = item.serviceId item.id = item.serviceId
}) })
this.packageImgArr = [res.data.packageImg] this.packageImgArr =res.data.packageImg? [res.data.packageImg]:[]
this.sharePosterImgArr = [res.data.sharePosterImg] this.sharePosterImgArr =res.data.sharePosterImg? [res.data.sharePosterImg]:[]
this.recoveryCoupon() this.recoveryCoupon()
this.copyTotalPrice = this.totalPrice this.copyTotalPrice = this.totalPrice
this.copyRuleForm = JSON.parse(JSON.stringify(this.ruleForm)) //深拷贝一份数据 this.copyRuleForm = JSON.parse(JSON.stringify(this.ruleForm)) //深拷贝一份数据
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!