xuxueyang
2024-10-18 0512f40da106268ac342377256cf9099d7f90b3e
store/index.js
@@ -32,13 +32,15 @@
         'delivery': 0,
         'order': 0,
         'shopnum': 0,
         'coupon': 0
         'coupon': 0,
         'cache_topay':0,
      },
      cache: {
         coupon: {},
         goods:[],
      },
      defaultaddress: {}
      defaultaddress: {},
      addressDesc:'',
   },
   mutations: {
@@ -68,6 +70,9 @@
      setDefaultAddress(state, defaultaddress) {
         state.defaultaddress = defaultaddress
      },
      setAddressDesc(state, addressDesc) {
         state.addressDesc = addressDesc
      },
      setTestTrue(state) {
         state.testvuex = true
      },