6aa96244 by xiaomiao
2 parents 84ad4d30 2f75ba5d
...@@ -60,7 +60,7 @@ Object.keys(filters).forEach(key => { ...@@ -60,7 +60,7 @@ Object.keys(filters).forEach(key => {
60 }) 60 })
61 Vue.config.productionTip = false 61 Vue.config.productionTip = false
62 62
63 axios.get("./config.json") 63 axios.get("/bdcdj/config.json")
64 .then((res) => { 64 .then((res) => {
65 Vue.prototype.BASE_API = res.data 65 Vue.prototype.BASE_API = res.data
66 localStorage.setItem('ApiUrl', JSON.stringify(res.data)); 66 localStorage.setItem('ApiUrl', JSON.stringify(res.data));
......
...@@ -86,7 +86,6 @@ module.exports = { ...@@ -86,7 +86,6 @@ module.exports = {
86 ]) 86 ])
87 87
88 // when there are many pages, it will cause too many meaningscss requests 88 // when there are many pages, it will cause too many meaningscss requests
89 config.plugins.delete('prefetch')
90 config.module 89 config.module
91 .rule('svg') 90 .rule('svg')
92 .exclude.add(resolve('src/image/icons')) 91 .exclude.add(resolve('src/image/icons'))
......