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() {
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)
},
},
};

View File

@ -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';