Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
2 changed files
with
1 additions
and
2 deletions
... | @@ -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')) | ... | ... |
-
Please register or sign in to post a comment