MrShi
2024-04-07 9a819fa35464df79a1a8a56e132b3463fac520a7
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: {