You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
739 B
25 lines
739 B
import Vue from 'vue'
|
|
import Vuex from 'vuex'
|
|
import app from "@/store/modules/app";
|
|
import HTTP_REQUEST_URL from "@/config/prod";
|
|
|
|
Vue.use(Vuex);
|
|
|
|
export default new Vuex.Store({
|
|
modules: {
|
|
app,
|
|
HTTP_REQUEST_URL
|
|
},
|
|
getters: {
|
|
isLogin: state => state.app.isLogin,
|
|
userInfo: state => state.app.userInfo,
|
|
rootFontSize: state => state.app.rootFontSize,
|
|
token: state => state.app.token,
|
|
position: state => state.app.position,
|
|
CAMERA: state => state.app.CAMERA,
|
|
WRITE_EXTERNAL_STORAGE: state => state.app.WRITE_EXTERNAL_STORAGE,
|
|
ACCESS_FINE_LOCATION: state => state.app.ACCESS_FINE_LOCATION,
|
|
mapping: state => state.app.mapping,
|
|
|
|
}
|
|
}) |