wx/unpackage/dist/dev/mp-weixin/pages/addition_subtraction/addition_subtraction.js
@@ -295,6 +295,12 @@ // // // // // // // // // var _default = { data: function data() { return { @@ -333,7 +339,8 @@ computed: { // 总金额 totalPrice: function totalPrice() { return (this.cyclePrice * (this.add.length + this.del.length)).toFixed(2); // return (this.cyclePrice * (this.add.length + this.del.length)).toFixed(2) return (this.cyclePrice * this.add.length - this.cyclePrice * this.del.length).toFixed(2); } }, methods: {