common.js 483 B

12345678910111213141516171819202122232425262728
  1. export default {
  2. namespaced: true,
  3. state: {
  4. // host: 'http://127.0.0.1',
  5. //fileHost: 'http://127.0.0.1/uploads',
  6. host: 'http://education.gxsrkj.com',
  7. fileHost: 'http://education.gxsrkj.com/uploads'
  8. // host: 'http://111.229.169.170:8003',
  9. // fileHost: 'http://111.229.169.170:8003/uploads'
  10. },
  11. getters: {
  12. host: state => {
  13. return state.host
  14. },
  15. fileHost: state => {
  16. return state.fileHost
  17. },
  18. },
  19. mutations: {
  20. }
  21. }