mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-14 09:38:13 +08:00
refactor(vue): 重构代码,采用setup语法
This commit is contained in:
@@ -8,6 +8,12 @@ const useDevStore = defineStore({
|
||||
magicCount: 0,
|
||||
};
|
||||
},
|
||||
actions: {
|
||||
init() {
|
||||
this.showDev = false;
|
||||
this.magicCount = 0;
|
||||
},
|
||||
},
|
||||
persist: true,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user