diff --git a/.env.production b/.env.production index 1a032b7..98c2cae 100644 --- a/.env.production +++ b/.env.production @@ -1,6 +1,6 @@ ENV = 'production' -# VUE_APP_BASE_API = 'https://jiqu-library.peidikeji.cn/api' -VUE_APP_BASE_API = 'https://jiqu-library.abcdefg.fun/api' +VUE_APP_BASE_API = 'https://jiqu-library.peidikeji.cn/api' +#VUE_APP_BASE_API = 'https://jiqu-library.abcdefg.fun/api' diff --git a/README.md b/README.md index 51e2a78..2aed43f 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,12 @@ -# mall-app +# 积趣-图书馆 -## Project setup -``` -yarn install -``` +uniapp -### Compiles and hot-reloads for development -``` -yarn serve -``` +## Rquire -### Compiles and minifies for production -``` -yarn build -``` +- nodejs +- npm -### Customize configuration -See [Configuration Reference](https://cli.vuejs.org/config/). +## TODO + +- [ ] 子商品库存不足时, 禁用商品规格 diff --git a/src/pageB/select_product/cart.vue b/src/pageB/select_product/cart.vue index 2a082fe..e642638 100644 --- a/src/pageB/select_product/cart.vue +++ b/src/pageB/select_product/cart.vue @@ -106,6 +106,8 @@ export default { }, onLoad(e) { this.mid = e.mid + }, + onShow() { this.getCartList() }, computed: { diff --git a/src/pageB/select_product/com_order.vue b/src/pageB/select_product/com_order.vue index b4410ad..6bf3fd5 100644 --- a/src/pageB/select_product/com_order.vue +++ b/src/pageB/select_product/com_order.vue @@ -124,9 +124,6 @@