refactor code

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

View File

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

View File

@ -97,7 +97,6 @@ export default {
}, },
watch: { watch: {
selectedObjId(val) { selectedObjId(val) {
console.log(val);
if (val === 'TAG') { if (val === 'TAG') {
this.detailList[1].class = 'd-none '; this.detailList[1].class = 'd-none ';
this.detailList[2].class = 'd-block pl-4 mt-2'; this.detailList[2].class = 'd-block pl-4 mt-2';