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(); let accountInfo = wx.getAccountInfoSync();
const hosts = {
"develop": 'https://www.yilingjiang.com', let envVersion = accountInfo.miniProgram.envVersion
//手动指定版本
envVersion = 'trial'
let hosts = {
"develop": 'http://wanyu.test',
"trial": 'https://www.yilingjiang.com', "trial": 'https://www.yilingjiang.com',
"release": 'https://release', "release": 'https://release',
} }
// const host = hosts[accountInfo.miniProgram.envVersion] let host = hosts[envVersion]
const host = 'http://wanyu.test';
export default {host}; export default {host};

View File

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