mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-25 05:29:45 +08:00
fix(sth): v-if
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* @file store modules app.ts
|
||||
* @description App store module
|
||||
* @author BTMuli<bt-muli@outlook.com>
|
||||
* @since Alpha
|
||||
* @since Alpha v0.1.1
|
||||
*/
|
||||
|
||||
import { defineStore } from "pinia";
|
||||
|
||||
@@ -27,12 +27,20 @@ const useHomeStore = defineStore({
|
||||
},
|
||||
actions: {
|
||||
async init() {
|
||||
this.calendar.show = true;
|
||||
this.calendar.order = 3;
|
||||
this.pool.show = true;
|
||||
this.pool.order = 1;
|
||||
this.position.show = true;
|
||||
this.position.order = 2;
|
||||
this.$state = {
|
||||
calendar: {
|
||||
show: true,
|
||||
order: 3,
|
||||
},
|
||||
pool: {
|
||||
show: true,
|
||||
order: 1,
|
||||
},
|
||||
position: {
|
||||
show: true,
|
||||
order: 2,
|
||||
},
|
||||
};
|
||||
},
|
||||
getShowItem() {
|
||||
return ["素材日历", "限时祈愿", "近期活动"];
|
||||
|
||||
Reference in New Issue
Block a user