xuxueyang
2024-07-25 96aeb2a232d85306ced2061f024a2ff491a92ff7
sub_pages/customer/shopping/shopping.vue
@@ -106,6 +106,7 @@
      })
      return totalprice.toFixed(2)
    },
  },
    methods: {
      async submitPay() {
        // order/confirm/info
@@ -140,7 +141,7 @@
        //删除商品,重新加载数据?
        this.$message.showLoading()
        const {code} = await http.request('post', '/api/api/customer/flower/cart/change-num', {
      const {code} = await http.request('post', '/api/customer/flower/cart/change-num', {
              data: {
                id: dto.id,
                num: addnum
@@ -237,7 +238,7 @@
          return
        }
        this.$message.showLoading()
        const {code} = await http.request('post', '/api/api/customer/flower/cart/change-num', {
      const {code} = await http.request('post', '/api/customer/flower/cart/change-num', {
              data: {
                id: dto.id,
                num: addnum
@@ -260,7 +261,6 @@
        }
      }
    },
  }
}
</script>