From 09faa36132c8cbada5327649875534ef01c1a3b1 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期四, 11 十二月 2025 20:44:31 +0800
Subject: [PATCH] feat: 优化任务里程统计
---
app/pages/mine/avatar/index.vue | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/app/pages/mine/avatar/index.vue b/app/pages/mine/avatar/index.vue
index 7a874bd..5f1b2ca 100644
--- a/app/pages/mine/avatar/index.vue
+++ b/app/pages/mine/avatar/index.vue
@@ -40,9 +40,10 @@
import config from '@/config'
import store from "@/store"
import { uploadAvatar } from "@/api/system/user"
+ import { getSystemInfo } from '@/utils/common'
const baseUrl = config.baseUrl
- let sysInfo = uni.getSystemInfoSync()
+ const sysInfo = getSystemInfo()
let SCREEN_WIDTH = sysInfo.screenWidth
let PAGE_X, // 鎵嬫寜涓嬬殑x浣嶇疆
PAGE_Y, // 鎵嬫寜涓媦鐨勪綅缃�
--
Gitblit v1.9.1