feat: api接口配置调整;接单列表刷新按钮视觉效果调整;

This commit is contained in:
gcd 2025-04-22 23:33:12 +08:00
parent ffd033d2ab
commit def8b7026f
2 changed files with 13 additions and 6 deletions

View File

@ -1,11 +1,16 @@
const accountInfo = wx.getAccountInfoSync();
const hosts = {
"develop": 'https://www.yilingjiang.com',
let accountInfo = wx.getAccountInfoSync();
let envVersion = accountInfo.miniProgram.envVersion
//手动指定版本
envVersion = 'trial'
let hosts = {
"develop": 'http://wanyu.test',
"trial": 'https://www.yilingjiang.com',
"release": 'https://release',
}
// const host = hosts[accountInfo.miniProgram.envVersion]
const host = 'http://wanyu.test';
let host = hosts[envVersion]
export default {host};

View File

@ -149,7 +149,9 @@ const getList = () => {
data.is_show_skeleton = false
uni.hideLoading();
}).catch(() => {}).finally(() => {
refreshComplete()
setTimeout(() => {
refreshComplete()
}, 500)
})
}