app.js 460 Bytes
import App from './index.vue'
import base from '@/base'
import GlsxVueCommon from 'glsx-vue-common'
import Vue from 'vue'
base.getConfig().then((data) => {
  const { vue, config } = data
  Vue.prototype.otherUrl = config.axios.otherURL
  Vue.prototype.fileUploadURL = config.axios.fileUploadURL
  Vue.prototype.businessURL = config.axios.businessURL
  Vue.prototype.entmicroURL = config.axios.entmicroURL
  vue.use(GlsxVueCommon, config)
  base.render(App)
})