code refactor

This commit is contained in:
MaysWind
2024-11-10 17:54:32 +08:00
parent aa2e10440d
commit f87fbddef7
13 changed files with 312 additions and 287 deletions
-3
View File
@@ -1,5 +1,4 @@
<template>
<img style="display: none;" :src="devCookiePath" v-if="!isProduction" />
<v-app>
<router-view />
</v-app>
@@ -35,8 +34,6 @@ import { getSystemTheme, setExpenseAndIncomeAmountColor } from '@/lib/ui.js';
export default {
data() {
return {
isProduction: isProduction(),
devCookiePath: isProduction() ? '' : '/dev/cookies',
showNotification: false
}
},