import Vue from "vue";
import Vuex from "vuex";

import app from "./modules/app";
import user from "./modules/user";

Vue.use(Vuex);

const store = new Vuex.Store({
  state: {
    // 状态
    openStyleStore: "", // 移动端楼层装修中选择风格存储
    openStoreId:"",
    notices: "" //通知提示信息
  },
  mutations: {
    // 改变方法
  },
  actions: {},
  modules: {
    app,
    user
  }
});

export default store;
