From e96f84d7f9e18d27dea1547e750c579aeb51194a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=B0=8F=E6=9E=97?= <320730042@qq.com> Date: Fri, 24 May 2024 14:29:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20TR069=E7=BB=91=E5=AE=9A=E4=B8=9A?= =?UTF-8?q?=E5=8A=A1=E4=BF=A1=E6=81=AF=E5=92=8C=E8=A7=A3=E7=BB=91=E4=B8=9A?= =?UTF-8?q?=E5=8A=A1=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/service/types.ts | 2 -- src/views/login/index.vue | 8 ++------ src/views/resources/tr069/components/BindingService.vue | 5 +---- src/views/resources/tr069/components/Tr069Service.vue | 4 +++- src/views/resources/tr069/index.vue | 2 +- 5 files changed, 7 insertions(+), 14 deletions(-) diff --git a/src/api/service/types.ts b/src/api/service/types.ts index 265285e..118db22 100644 --- a/src/api/service/types.ts +++ b/src/api/service/types.ts @@ -1,5 +1,3 @@ -import { DeviceServiceVO } from "@/api/device-type-ver/types"; - export interface ServiceVO { servId?: number; servName?: string; diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 4f1deae..5952e04 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -100,7 +100,7 @@ import { useSettingsStore, useUserStore, useAppStore } from "@/store"; import { getCaptchaApi } from "@/api/auth"; import { LoginData } from "@/api/auth/types"; -import { Sunny, Moon } from "@element-plus/icons-vue"; +import { Sunny, Moon, Lock } from "@element-plus/icons-vue"; import { LocationQuery, LocationQueryValue, useRoute } from "vue-router"; import router from "@/router"; import defaultSettings from "@/settings"; @@ -221,11 +221,7 @@ const toggleTheme = () => { */ watchEffect(() => { - if (height.value < 600) { - icpVisible.value = false; - } else { - icpVisible.value = true; - } + icpVisible.value = height.value >= 600; }); /** diff --git a/src/views/resources/tr069/components/BindingService.vue b/src/views/resources/tr069/components/BindingService.vue index ad0f1af..1a6a113 100644 --- a/src/views/resources/tr069/components/BindingService.vue +++ b/src/views/resources/tr069/components/BindingService.vue @@ -44,10 +44,7 @@