This commit is contained in:
Viet An
2026-06-09 19:21:39 +07:00
parent 128993a93c
commit 7025fd8cd5
7 changed files with 212 additions and 758 deletions

View File

@@ -14,7 +14,7 @@ export const useStore = defineStore("maindev", {
branch: {},
rights: [],
product: [],
selectedImeis: [],
customer: undefined,
}),
actions: {
commit(name, data) {
@@ -24,7 +24,7 @@ export const useStore = defineStore("maindev", {
},
persist: {
pick: ["token", "login", "lang", "selectedImeis"],
pick: ["token", "login", "lang", "customer"],
storage: piniaPluginPersistedstate.localStorage(),
},
});