diff --git a/src/store/home.ts b/src/store/home.ts index 6cf7374..73b9f1e 100644 --- a/src/store/home.ts +++ b/src/store/home.ts @@ -99,7 +99,7 @@ class HomeStore extends BaseStore { try { let data = await baseHttp.gets(HomeConfig.deviceList, { start: 0, - limit: 30 + limit: 100 }) return data } catch (error) { diff --git a/src/util/config.ts b/src/util/config.ts index 40f80fe..4660882 100644 --- a/src/util/config.ts +++ b/src/util/config.ts @@ -1,7 +1,7 @@ class Config { - // static baseUrl = "/"; - static baseUrl = "https://www.hswzct.cn:12016/"; + static baseUrl = "/"; + // static baseUrl = "https://www.hswzct.cn:12016/"; // static baseUrl = "http://127.0.0.1:12214/"; static ws = "wss://www.hswzct.cn:12016/wsadmin?id=admin"; static userStatic = "https://www.hswzct.cn:12016/api/uploads/user/";