Browse Source

fix: build error

张益铭 4 years ago
parent
commit
267d34999e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main.ts

+ 1 - 1
src/main.ts

@@ -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
     // 自动注入项目配置