hookehuyr

fix: 将 Taro.getSystemInfoSync 替换为 Taro.getWindowInfo

更新系统信息获取方法以使用更合适的 API
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-09-19 22:53:44
* @LastEditTime: 2025-09-19 23:47:10
* @FilePath: /lls_program/src/pages/ActivitiesCover/index.vue
* @Description: 活动海报页面 - 展示活动信息并处理定位授权
-->
......@@ -156,7 +156,7 @@ const systemInfo = ref({});
*/
const getSystemInfo = () => {
try {
const info = Taro.getSystemInfoSync();
const info = Taro.getWindowInfo();
systemInfo.value = info;
} catch (error) {
console.error('获取系统信息失败:', error);
......
<!--
* @Date: 2025-08-27 17:43:45
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-09-19 23:23:33
* @LastEditTime: 2025-09-19 23:46:06
* @FilePath: /lls_program/src/pages/Dashboard/index.vue
* @Description: 首页
-->
......@@ -478,7 +478,7 @@ const systemInfo = ref({});
*/
const getSystemInfo = () => {
try {
const info = Taro.getSystemInfoSync();
const info = Taro.getWindowInfo();
systemInfo.value = info;
} catch (error) {
console.error('获取系统信息失败:', error);
......