@@ -48,7 +48,7 @@ exports.cssLoaders = function (options) {
return ExtractTextPlugin.extract({
use: loaders,
fallback: 'vue-style-loader',
- publicPath: '../../' // 解决element UI打包后字体文件丢失
+ publicPath: '../../' // 解决element UI打包后字体文件丢失
})
} else {
return ['vue-style-loader'].concat(loaders)
@@ -659,7 +659,7 @@ export default {
res.data.forEach(e => {
that.printFeature('otherLayer', e, 'other')
- this.addCluster('otherLayer', this.moreStyles.Point)
+ this.addCluster('otherLayer', this.otherStyles.Point)
},
@@ -8,8 +8,8 @@
export default {
install (Vue) {
// 请求前缀
- Vue.prototype.$axios.defaults.baseURL = 'http://127.0.0.1:300'
- // Vue.prototype.$axios.defaults.baseURL = 'http://42.193.189.65:300'
+ // Vue.prototype.$axios.defaults.baseURL = 'http://127.0.0.1:300'
+ Vue.prototype.$axios.defaults.baseURL = 'http://42.193.189.65:300'
// 设置超时时间
Vue.prototype.$axios.defaults.timeout = 10000
// 请求封装