// export const navBar = {
//     wechat:false,
//     mobileMenuBar:false
// }
const stateData = {
    status:0,
    mncode:''
}

export type AuthType = typeof stateData
export const authStore = {
    namespaced: true,
        state: () => ({
            ...stateData
        }),
    mutations: {
        SET_STATUS(state:AuthType,payload:number){
           state.status = payload
        },
        SET_MNCODE(state:AuthType,payload:string){
            state.mncode = payload
        }
    },
    actions: {

    },
    getters: {

    }
  };
  
//   export type NavBar = typeof navBar.state

  