This commit is contained in:
全栈小学生 2024-11-16 14:36:26 +08:00
parent 2dce1fe5a7
commit c012b18982
2 changed files with 5 additions and 10 deletions

View File

@ -3,7 +3,6 @@ import Sortable from 'sortablejs';
import { range } from 'lodash-es'; import { range } from 'lodash-es';
import { onPageScroll, onHide, onShow } from '@dcloudio/uni-app'; import { onPageScroll, onHide, onShow } from '@dcloudio/uni-app';
import useDiyStore from '@/app/stores/diy'; import useDiyStore from '@/app/stores/diy';
import { getLocation } from '@/utils/common';
export function useDiyGroup(params: any = {}) { export function useDiyGroup(params: any = {}) {
@ -89,10 +88,6 @@ export function useDiyGroup(params: any = {}) {
nextTick(() => { nextTick(() => {
setTimeout(() => { setTimeout(() => {
if (data.value.global && data.value.global.topStatusBar && data.value.global.topStatusBar.style == 'style-4') {
// 第一次获取经纬度
getLocation()
}
// 初始化组件滚动值 // 初始化组件滚动值
scrollVal = uni.getStorageSync('componentsScrollValGroup'); scrollVal = uni.getStorageSync('componentsScrollValGroup');