This commit is contained in:
zmj 2024-06-11 17:09:45 +08:00
parent 72dc2f4a3a
commit 032993ccc9
3 changed files with 6 additions and 7 deletions

View File

@ -2,15 +2,15 @@ let BASE_URL
import store from "@/store/user.js"
// 环境
// let env = "dev"
let env = "prod"
// let env = "liu";
// let env = "prod"
let env = "liu";
switch (env) {
case 'dev':
BASE_URL = 'https://test-multi-store.lihaink.cn';
break;
case 'liu':
BASE_URL = 'http://192.168.1.201:8545';
BASE_URL = 'http://192.168.1.22:8545';
break;
default:
BASE_URL = 'https://multi-store.lihaink.cn';

View File

@ -123,7 +123,7 @@
"path": "order/order",
"style": {
"navigationBarTitleText": "我的订单",
"enablePullDownRefresh": false,
"enablePullDownRefresh": true,
"navigationStyle": "custom"
}
},

View File

@ -266,7 +266,7 @@
}).then(res => {
getCartList();
}).catch(err => {
uni.$u.toast('添加失败')
uni.$u.toast(err.msg || '添加失败')
})
}
@ -278,7 +278,6 @@
}
const changeOrder = (order) => {
console.log('排序', order);
where.value.order = order;
getGoodList();
}
@ -461,7 +460,7 @@
userStore.setToken('');
userStore.setUserInfo({});
}
}
},
});
addCart(data.product_id, data.cart_num);