完善登录、收藏、分享
This commit is contained in:
@ -155,7 +155,7 @@
|
||||
import { onPageScroll, onReachBottom } from '@dcloudio/uni-app'
|
||||
import useMescroll from "@/uni_modules/mescroll-uni/hooks/useMescroll.js"
|
||||
import TeaSpecialistLevel from '@/components/TeaSpecialistLevel.vue'
|
||||
import {getLocation} from '@/utils/jwexin'
|
||||
import {wxGetLocation} from '@/utils/jwexin'
|
||||
import {TeaSpecialistLevelValue} from '@/utils/teaSpecialist'
|
||||
import {getDecorate, getTeaSpecialistLevels, getTeaSpecialist} from '@/api/home'
|
||||
import {getCity} from '@/api/city'
|
||||
@ -186,7 +186,7 @@
|
||||
|
||||
onLoad(async () => {
|
||||
// 授权获取地址
|
||||
await getLocation((res) => {
|
||||
await wxGetLocation((res) => {
|
||||
latitude.value = res.latitude
|
||||
longitude.value = res.longitude
|
||||
Index.handleSearch()
|
||||
|
||||
Reference in New Issue
Block a user