位置选择优化
parent
0e5bea4368
commit
29e7df6637
|
|
@ -104,7 +104,12 @@ export default {
|
|||
uni.$on('refresh', (data) => {
|
||||
// 初始位置数据
|
||||
if((data.location_success || false) == true) {
|
||||
this.user_location_init();
|
||||
// 用户位置初始化
|
||||
this.user_location_init();
|
||||
// 重新请求数据
|
||||
// #ifdef APP
|
||||
this.init();
|
||||
// #endif
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -136,9 +136,10 @@
|
|||
if((data.location_success || false) == true) {
|
||||
// 用户位置初始化
|
||||
this.user_location_init();
|
||||
|
||||
// 重新请求数据
|
||||
// #ifdef APP
|
||||
this.get_data();
|
||||
// #endif
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue