app.ts 578 B

12345678910111213141516171819202122232425262728293031
  1. import * as api from '@/api/index'
  2. // import {getUserInfo} from "@/api/modules/global/global";
  3. const state = {
  4. apiProxy: {
  5. BaseMap1Api: 'BaseMap1-api', // 地图底图代理1 http://59.255.48.160:81
  6. BaseMap2Api: 'BaseMap2-api', // 地图底图代理2 http://59.212.37.22
  7. BaseMap3Api: 'BaseMap3-api', // 地图底图代理3 http://59.212.146.170
  8. geoserverApi: 'geoserver-api', // 地图服务代理
  9. },
  10. userInfo: <any>{},
  11. }
  12. const getters = {
  13. }
  14. const mutations = {
  15. }
  16. const actions = {
  17. }
  18. export default {
  19. namespaced: true,
  20. state,
  21. getters,
  22. mutations,
  23. actions
  24. }