feat: api接口配置调整;接单列表刷新按钮视觉效果调整;
This commit is contained in:
parent
ffd033d2ab
commit
def8b7026f
|
|
@ -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};
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user