From 01883c7d5eca26efb7f844773cae50e5154b9f8b Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期二, 20 八月 2024 15:30:06 +0800 Subject: [PATCH] # --- src/config/setting.js | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/config/setting.js b/src/config/setting.js index c5366cb..b2afd0d 100644 --- a/src/config/setting.js +++ b/src/config/setting.js @@ -1,4 +1,10 @@ -export const API_BASE_URL = import.meta.env.COOL_API_BASE_URL; +export const IP = import.meta.env.COOL_BASE_IP; + +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 TOKEN_HEADER_NAME = 'Authorization'; @@ -11,6 +17,8 @@ // model scale rate export const BATCH_SCALE = 1.3; + +export const MODEL_AGV_COLOR = 0x4b4b4b; export const MODEL_AGV_SCALE = .7; @@ -31,7 +39,7 @@ export const SHELF_BAY_GROUP_COUNT = 3; -export const SHELF_BAY_UNIT_SEPARTE_DISTANCE = 60; +export const SHELF_BAY_UNIT_SEPARTE_DISTANCE = 54; export const SHELF_HEIGHT_FROM_GROUND = 32; -- Gitblit v1.9.1