mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-30 09:24:46 +08:00
fix: build error
This commit is contained in:
parent
7545003e57
commit
267d34999e
@ -41,7 +41,7 @@ export const getServerConfig = async (): Promise<any> => {
|
||||
return axios({
|
||||
baseURL: "",
|
||||
method: "get",
|
||||
url: (app.config.globalProperties.$baseUrl || "/") + "serverConfig.json"
|
||||
url: (app.config.globalProperties.$baseUrl || "/manages/") + "serverConfig.json"
|
||||
}).then(({ data: config }) => {
|
||||
let $config = app.config.globalProperties.$config
|
||||
// 自动注入项目配置
|
||||
|
Loading…
x
Reference in New Issue
Block a user