Browse Source

上传

master
前端-胡立永 4 months ago
parent
commit
3812cfd311
3 changed files with 4 additions and 2 deletions
  1. +1
    -1
      config.js
  2. +2
    -0
      mixins/order.js
  3. +1
    -1
      pages/index/cart.vue

+ 1
- 1
config.js View File

@ -7,7 +7,7 @@ import uvUI from '@/uni_modules/uv-ui-tools'
Vue.use(uvUI);
// 当前环境
const type = 'dev'
const type = 'prod'
// 环境配置


+ 2
- 0
mixins/order.js View File

@ -29,6 +29,8 @@ export default {
})
}
});
}else{
setTimeout(self.getData, 500)
}
})
},


+ 1
- 1
pages/index/cart.vue View File

@ -251,7 +251,7 @@
})
},
fail: function(err) {
// self.delsCart(deleteCartIds)
self.delsCart(deleteCartIds)
console.log('支付失败', err);
uni.redirectTo({
url:'/pages/index/order'


Loading…
Cancel
Save