张益铭 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({
   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
     // 自动注入项目配置
     // 自动注入项目配置