update code

This commit is contained in:
Nguyen Van Luan/(Nguyen Van Luan)/현장대리인/SK
2025-08-19 12:32:34 +09:00
parent 08637f6321
commit 7e9bd540ed
5 changed files with 31 additions and 37 deletions

View File

@ -13,6 +13,7 @@ export default {
data() {
return {
mode: null,
isLoading: false
};
},
computed: {
@ -28,6 +29,7 @@ export default {
setThemeChange: 'setThemeChange',
}),
themeChange() {
this.isLoading = true;
this.mode = !this.mode;
this.$vuetify.theme.isDark = this.mode;
this.setThemeChange(this.mode);