diff --git a/src/views/package-list/index.vue b/src/views/package-list/index.vue index f9bff3d..e7da7a5 100644 --- a/src/views/package-list/index.vue +++ b/src/views/package-list/index.vue @@ -1,7 +1,7 @@ @@ -313,7 +313,7 @@ export default { packageName: /* data.productModel */ data.packageName, //套餐名字 packagePayType: Number(this.payType), //支付类型 packageIssue: 12, //分期 - packagePrice: process.env.NODE_ENV === "production" ? /* data.packagePrice * 100 */1 : 1 //总金额单位为分,测试环境写死 + packagePrice: process.env.NODE_ENV === "production" ? data.packagePrice * 100 : 1 //总金额单位为分,测试环境写死 }; this.$toast.clear(); APICore.payLiveBaseDevice(reqBody) @@ -408,7 +408,7 @@ export default { packageName: /* data.productModel + ',' + */data.packageName, //套餐名字 packagePayType: Number(this.payType), //支付类型 packageIssue: this.packageIssue, //分期 - packagePrice: process.env.NODE_ENV === "production" ? /* data.packagePrice * 100 */1 : 1 //总金额单位为分,测试环境写死 + packagePrice: process.env.NODE_ENV === "production" ? data.packagePrice * 100 : 1 //总金额单位为分,测试环境写死 }; this.$toast.clear(); APICore.payLiveBaseDevice(reqBody)