diff --git a/public/config.js b/public/config.js index 4b9e1824..ef7e7996 100644 --- a/public/config.js +++ b/public/config.js @@ -6,5 +6,5 @@ const APP_CONFIG = { //标题 APP_NAME: "SCUI", //接口地址 - API_URL: "" + API_URL: "." } diff --git a/src/config/index.js b/src/config/index.js index 4dc37434..47c922e1 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -6,7 +6,7 @@ const DEFAULT_CONFIG = { APP_VER: "1.1.1", //接口地址 - API_URL: "", + API_URL: ".", //MOCK接口地址 MOCK_URL: "https://www.fastmock.site/mock/44c807475f7eeba73409792255781935/api",