修改 app
This commit is contained in:
@@ -27,7 +27,7 @@ export default (options = {}) => {
|
||||
}
|
||||
uni.request({
|
||||
url,
|
||||
timeout: 5000,
|
||||
timeout: 1000 *10,
|
||||
data: {
|
||||
...options.data,
|
||||
},
|
||||
|
||||
@@ -132,7 +132,7 @@ const getUserLocation = (call) => {
|
||||
success: function (address) {
|
||||
call(address)
|
||||
},
|
||||
fail: (err) => {
|
||||
fail: (err) => {
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '定位失败,请打开定位权限',
|
||||
|
||||
Reference in New Issue
Block a user