소스 검색

fix: build error

张益铭 4 년 전
부모
커밋
267d34999e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
     // 自动注入项目配置