From c89da1d0f726bd7664a8ace94b23108d70b35c70 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sat, 24 Jun 2023 20:12:54 +0800 Subject: [PATCH] code refactor --- src/DesktopApp.vue | 2 -- src/views/mobile/HomePage.vue | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/DesktopApp.vue b/src/DesktopApp.vue index f249eaa0..ad7adbc7 100644 --- a/src/DesktopApp.vue +++ b/src/DesktopApp.vue @@ -20,8 +20,6 @@ import { getSystemTheme } from '@/lib/ui.js'; export default { data() { - const self = this; - return { isProduction: isProduction(), devCookiePath: isProduction() ? '' : '/dev/cookies' diff --git a/src/views/mobile/HomePage.vue b/src/views/mobile/HomePage.vue index 40e6ba84..232e1158 100644 --- a/src/views/mobile/HomePage.vue +++ b/src/views/mobile/HomePage.vue @@ -208,8 +208,6 @@ import { export default { data() { - const self = this; - return { loading: true, todayFirstUnixTime: getTodayFirstUnixTime(),