mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-04-01 06:39:45 +08:00
🎨 代码格式化
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
/**
|
||||
* @file store modules achievements.ts
|
||||
* @description Achievements store module
|
||||
* @author BTMuli<bt-muli@outlook.com>
|
||||
* @since Alpha v0.1.3
|
||||
*/
|
||||
|
||||
// vue
|
||||
import { ref } from "vue";
|
||||
// pinia
|
||||
import { defineStore } from "pinia";
|
||||
import { ref } from "vue";
|
||||
|
||||
export const useAchievementsStore = defineStore(
|
||||
"achievements",
|
||||
|
||||
@@ -1,16 +1,12 @@
|
||||
/**
|
||||
* @file store modules app.ts
|
||||
* @description App store module
|
||||
* @author BTMuli <bt-muli@outlook.com>
|
||||
* @since Beta v0.3.3
|
||||
*/
|
||||
|
||||
// vue
|
||||
import { reactive, ref } from "vue";
|
||||
// pinia
|
||||
import { defineStore } from "pinia";
|
||||
// tauri
|
||||
import { path } from "@tauri-apps/api";
|
||||
import { defineStore } from "pinia";
|
||||
import { reactive, ref } from "vue";
|
||||
|
||||
// 用于存储用户数据的路径
|
||||
const userDataDir = `${await path.appLocalDataDir()}userData`;
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
/**
|
||||
* @file store modules home.ts
|
||||
* @description Home store module
|
||||
* @author BTMuli<bt-muli@outlook.com>
|
||||
* @since Alpha v0.1.6
|
||||
*/
|
||||
|
||||
// vue
|
||||
import { ref } from "vue";
|
||||
// pinia
|
||||
import { defineStore } from "pinia";
|
||||
import { ref } from "vue";
|
||||
|
||||
export const useHomeStore = defineStore(
|
||||
"home",
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
/**
|
||||
* @file store modules user.ts
|
||||
* @description User store module
|
||||
* @author BTMuli <bt-muli@outlook.com>
|
||||
* @since Beta v0.3.0
|
||||
*/
|
||||
|
||||
// vue
|
||||
import { ref } from "vue";
|
||||
// pinia
|
||||
import { defineStore } from "pinia";
|
||||
import { ref } from "vue";
|
||||
|
||||
export const useUserStore = defineStore(
|
||||
"user",
|
||||
|
||||
Reference in New Issue
Block a user