2025-03-26

This commit is contained in:
2025-03-26 11:00:21 +08:00
parent 927d7381b8
commit b45f4950d3
468 changed files with 54473 additions and 124 deletions

View File

@@ -0,0 +1,20 @@
import { defineStore } from "pinia";
import piniaPersistConfig from "@/config/piniaPersist";
export const useStatusStore = defineStore({
id: "gw-status",
// 修改默认值之后,需清除 localStorage 数据
state: (): any => ({
status: {
setSupplier: [] //供应商
}
}),
getters: {},
actions: {
// Set setSupplier
setSupplier(data: any) {
this.status.setSupplier = data;
}
},
persist: piniaPersistConfig("gw-status")
});