c9cf644ac5
- 添加 build-and-push.sh 脚本用于自动化构建和推送 Docker 镜像 - 更新 .dockerignore 排除 pnpm-workspace.yaml - 更新项目依赖和配置文件
16 lines
292 B
TypeScript
Executable File
16 lines
292 B
TypeScript
Executable File
import { defineStore } from 'pinia'
|
|
import { ref } from 'vue'
|
|
|
|
export const useAppStore = defineStore('app', () => {
|
|
const isAppLoading = ref(true)
|
|
|
|
const setAppLoading = (loading: boolean) => {
|
|
isAppLoading.value = loading
|
|
}
|
|
|
|
return {
|
|
isAppLoading,
|
|
setAppLoading,
|
|
}
|
|
})
|