changes
This commit is contained in:
@@ -1,20 +1,27 @@
|
||||
import { defineStore } from "pinia";
|
||||
|
||||
export const useStore = defineStore("maindev", {
|
||||
export const useStore = defineStore("erp-dev", {
|
||||
state: () => ({
|
||||
ready: false,
|
||||
viewport: undefined,
|
||||
login: undefined,
|
||||
token: undefined,
|
||||
common: undefined,
|
||||
viewport: null,
|
||||
login: null,
|
||||
token: null,
|
||||
showmodal: null,
|
||||
snackbar: null,
|
||||
settings: [],
|
||||
showmodal: undefined,
|
||||
snackbar: undefined,
|
||||
country: undefined,
|
||||
lang: "vi",
|
||||
branch: {},
|
||||
rights: [],
|
||||
product: [],
|
||||
// set by api-loader
|
||||
common: null,
|
||||
tablesetting: null,
|
||||
datatype: null,
|
||||
settingtype: null,
|
||||
settingclass: null,
|
||||
colorchoice: null,
|
||||
menuchoice: null,
|
||||
colorscheme: null,
|
||||
Invoice_Status: null,
|
||||
Payment_Status: null,
|
||||
Delivery_Status: null,
|
||||
}),
|
||||
actions: {
|
||||
commit(name, data) {
|
||||
|
||||
Reference in New Issue
Block a user