Files
zy-client-a/a1_pl_dpd_post/src/stores/loadingStore.ts
telangpu cf55c2cad6 update
2026-04-28 00:42:28 +08:00

14 lines
258 B
TypeScript

// stores/loadingStore.ts
import { defineStore } from "pinia";
export const useLoadingStore = defineStore("loading", {
state: () => ({
isLoading: false,
}),
actions: {
setLoading(value: boolean) {
this.isLoading = value;
},
},
});