From 9483baffba9a24a2a36fc8739fc65b59317d9142 Mon Sep 17 00:00:00 2001 From: zhang <zc857179121@qq.com> Date: 星期四, 03 七月 2025 14:18:46 +0800 Subject: [PATCH] 队列拆分 --- zy-acs-flow/src/config/setting.js | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/zy-acs-flow/src/config/setting.js b/zy-acs-flow/src/config/setting.js index 7b5f3e7..05cd956 100644 --- a/zy-acs-flow/src/config/setting.js +++ b/zy-acs-flow/src/config/setting.js @@ -3,11 +3,13 @@ export const PORT = import.meta.env.COOL_BASE_PORT; -export const API_BASE_URL = 'http://' + IP + ':' + PORT + ''; - -export const WEBSOCKET_BASE_URL = 'ws://' + IP + ':' + PORT + ''; +export const WEBSOCKET_BASE_URL = `${window.location.protocol === 'https:' ? 'wss://' : 'ws://'}${window.location.host}`; export const PREFIX_BASE_URL = '/api/'; + +export const HANDLE_APP_KEY = 'xltys1995'; + +export const VERIFY_PASSWORD = 'root'; export const SPA_NAME = 'COOL'; @@ -25,6 +27,8 @@ export const ABORT_SIGNAL = false; +export const DEFAULT_PAGE_SIZE = 25; + export const PAGE_DRAWER_WIDTH = 400; export const REFERENCE_INPUT_PAGESIZE = 1000; @@ -33,4 +37,6 @@ export const EDIT_MODE = 'pessimistic'; // pessimistic | undoable -export const LOGIN_BACKGROUND = 'image'; // image | media \ No newline at end of file +export const LOGIN_BACKGROUND = 'image'; // image | media + +export const CUSTOM_PAGES_DATA_INTERVAL = 1000; \ No newline at end of file -- Gitblit v1.9.1