style:登记
Showing
3 changed files
with
4 additions
and
4 deletions
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-29 15:14:35 | 4 | * @LastEditTime: 2023-05-30 17:18:14 |
5 | */ | 5 | */ |
6 | import Vue from 'vue' | 6 | import Vue from 'vue' |
7 | import App from './App' | 7 | import App from './App' |
... | @@ -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("/bdcdj/config.json") | 63 | axios.get("/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)); | ... | ... |
... | @@ -18,7 +18,7 @@ module.exports = { | ... | @@ -18,7 +18,7 @@ module.exports = { |
18 | * Detail: https://cli.vuejs.org/config/#publicpath | 18 | * Detail: https://cli.vuejs.org/config/#publicpath |
19 | */ | 19 | */ |
20 | // 加载资源的路径 | 20 | // 加载资源的路径 |
21 | publicPath: '/bdcdj/', | 21 | publicPath: '/dj/', |
22 | // 设置项目打包生成的文件的存储目录,可以是静态路径也可以是相对路径 | 22 | // 设置项目打包生成的文件的存储目录,可以是静态路径也可以是相对路径 |
23 | outputDir: 'dist', | 23 | outputDir: 'dist', |
24 | // 设置放置打包生成的静态资源 (js、css、img、fonts) 的目录 | 24 | // 设置放置打包生成的静态资源 (js、css、img、fonts) 的目录 | ... | ... |
-
Please register or sign in to post a comment