From 687b6db96b7467501e731e0ed22e6799e32346ea Mon Sep 17 00:00:00 2001 From: Tyke Chen <190473011+chentyke@users.noreply.github.com> Date: Fri, 10 Jul 2026 11:38:39 +0800 Subject: [PATCH] fix: resolve mobile type and lint errors --- main/manager-mobile/src/App.vue | 17 +- main/manager-mobile/src/i18n/de.ts | 1094 ++++++++--------- main/manager-mobile/src/i18n/index.ts | 20 +- main/manager-mobile/src/i18n/pt_BR.ts | 6 +- main/manager-mobile/src/i18n/vi.ts | 1094 ++++++++--------- main/manager-mobile/src/i18n/zh_TW.ts | 6 +- main/manager-mobile/src/layouts/default.vue | 2 +- .../src/layouts/fg-tabbar/fg-tabbar.vue | 6 +- main/manager-mobile/src/layouts/tabbar.vue | 2 +- main/manager-mobile/src/main.ts | 13 +- .../agent/components/AgentSnapshotPanel.vue | 2 +- main/manager-mobile/src/pages/agent/index.vue | 2 +- main/manager-mobile/src/pages/agent/tools.vue | 2 +- .../components/ultrasonic-config.vue | 132 +- .../components/wifi-selector.vue | 2 +- .../src/pages/device-config/index.vue | 24 +- .../manager-mobile/src/pages/device/index.vue | 2 +- .../src/pages/forgot-password/index.vue | 264 ++-- main/manager-mobile/src/pages/index/index.vue | 4 +- main/manager-mobile/src/pages/login/index.vue | 4 +- .../src/pages/register/index.vue | 111 +- .../src/pages/settings/index.vue | 4 +- .../src/pages/voiceprint/index.vue | 2 +- main/manager-mobile/src/store/config.ts | 2 +- main/manager-mobile/src/store/lang.ts | 7 +- main/manager-mobile/src/utils/index.ts | 2 +- main/manager-mobile/src/wot-design-uni.d.ts | 30 + main/manager-mobile/tsconfig.json | 1 - 28 files changed, 1441 insertions(+), 1416 deletions(-) create mode 100644 main/manager-mobile/src/wot-design-uni.d.ts diff --git a/main/manager-mobile/src/App.vue b/main/manager-mobile/src/App.vue index d31d32d7..a62d43fc 100644 --- a/main/manager-mobile/src/App.vue +++ b/main/manager-mobile/src/App.vue @@ -1,9 +1,9 @@ @@ -86,18 +84,18 @@ onMounted(() => { - {{ t('deviceConfig.configMethod') }} - + {{ t('deviceConfig.configMethod') }} + - {{ t('deviceConfig.configMethod') }} - - - {{ configType === 'wifi' ? t('deviceConfig.wifiConfig') : t('deviceConfig.ultrasonicConfig') }} - + {{ t('deviceConfig.configMethod') }} + + + {{ configType === 'wifi' ? t('deviceConfig.wifiConfig') : t('deviceConfig.ultrasonicConfig') }} + @@ -105,8 +103,8 @@ onMounted(() => { - {{ t('deviceConfig.networkConfig') }} - + {{ t('deviceConfig.networkConfig') }} + diff --git a/main/manager-mobile/src/pages/device/index.vue b/main/manager-mobile/src/pages/device/index.vue index f1fdcc26..4c38199e 100644 --- a/main/manager-mobile/src/pages/device/index.vue +++ b/main/manager-mobile/src/pages/device/index.vue @@ -1,7 +1,7 @@