app.js
405 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.use(GlsxVueCommon, config)
base.render(App)
})