//引用Vuex
import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)


//实例store对象
const store = new Vuex.Store({
	state: {
		appid:'wx6e2d664687c88632',
		code:'',
		login:false,
		register:false,
		token:'',
		userInfo:'',
		loading:false,
		//当前在哪个页面
		state:'待报价',
		initComplete:false,
		allOrderInfo:'',
		encryptedData:'',
		iv:'',
		//设备信息
		sysInfo:''
	},
	mutations: {
		
	}
})


//导出store对象
export default store

//export default const store或者export const store会报错
