feat: api接口配置调整;接单列表刷新按钮视觉效果调整;
This commit is contained in:
parent
ffd033d2ab
commit
def8b7026f
|
|
@ -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};
|
||||
|
|
|
|||
|
|
@ -149,7 +149,9 @@ const getList = () => {
|
|||
data.is_show_skeleton = false
|
||||
uni.hideLoading();
|
||||
}).catch(() => {}).finally(() => {
|
||||
refreshComplete()
|
||||
setTimeout(() => {
|
||||
refreshComplete()
|
||||
}, 500)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user