From a5c35809fabbd567655a4aeaa0e48c1f8e2e7484 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguyen=20Van=20Luan/=28Nguyen=20Van=20Luan=29/=ED=98=84?= =?UTF-8?q?=EC=9E=A5=EB=8C=80=EB=A6=AC=EC=9D=B8/SK?= <20074472@skcc.com> Date: Tue, 19 Aug 2025 12:45:19 +0900 Subject: [PATCH] refactor code --- components/common/ThemeSwitch.vue | 6 ++---- components/pages/ems/EccInfo/EccIaoTab.vue | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/components/common/ThemeSwitch.vue b/components/common/ThemeSwitch.vue index 53edd9c..4c0f31f 100644 --- a/components/common/ThemeSwitch.vue +++ b/components/common/ThemeSwitch.vue @@ -13,7 +13,7 @@ export default { data() { return { mode: null, - isLoading: false + // isLoading: false }; }, computed: { @@ -29,12 +29,10 @@ export default { setThemeChange: 'setThemeChange', }), themeChange() { - this.isLoading = true; + // this.isLoading = true; this.mode = !this.mode; this.$vuetify.theme.isDark = this.mode; this.setThemeChange(this.mode); - // console.log(this.mode) - // console.log(this.$vuetify.theme.isDark) }, }, }; diff --git a/components/pages/ems/EccInfo/EccIaoTab.vue b/components/pages/ems/EccInfo/EccIaoTab.vue index c3cf2ab..9f01994 100644 --- a/components/pages/ems/EccInfo/EccIaoTab.vue +++ b/components/pages/ems/EccInfo/EccIaoTab.vue @@ -97,7 +97,6 @@ export default { }, watch: { selectedObjId(val) { - console.log(val); if (val === 'TAG') { this.detailList[1].class = 'd-none '; this.detailList[2].class = 'd-block pl-4 mt-2';