fix: build error

This commit is contained in:
张益铭 2021-03-29 17:17:53 +08:00
parent 7545003e57
commit 267d34999e

View File

@ -41,7 +41,7 @@ export const getServerConfig = async (): Promise<any> => {
return axios({ return axios({
baseURL: "", baseURL: "",
method: "get", method: "get",
url: (app.config.globalProperties.$baseUrl || "/") + "serverConfig.json" url: (app.config.globalProperties.$baseUrl || "/manages/") + "serverConfig.json"
}).then(({ data: config }) => { }).then(({ data: config }) => {
let $config = app.config.globalProperties.$config let $config = app.config.globalProperties.$config
// 自动注入项目配置 // 自动注入项目配置