From 1ad64efe59c03cb773cf2e5c7f01547b6d388d5f Mon Sep 17 00:00:00 2001 From: g7hoo Date: Thu, 22 Sep 2022 10:03:23 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E8=AE=BE=E5=A4=87=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E5=88=86=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/request.js | 4 +- .../modules/monitoring/equipmentException.vue | 117 ++++++++---------- 2 files changed, 57 insertions(+), 64 deletions(-) diff --git a/src/utils/request.js b/src/utils/request.js index 134bf99..d06a328 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -8,8 +8,8 @@ import merge from 'lodash/merge' const http = axios.create({ // baseURL: window.SITE_CONFIG['apiURL'], - // baseURL: '/api', - baseURL: process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor', + baseURL: '/api', + // baseURL: process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor', timeout: 1000 * 180, withCredentials: true }) diff --git a/src/views/modules/monitoring/equipmentException.vue b/src/views/modules/monitoring/equipmentException.vue index 03b3425..c05bb1f 100644 --- a/src/views/modules/monitoring/equipmentException.vue +++ b/src/views/modules/monitoring/equipmentException.vue @@ -21,7 +21,8 @@ - + /> -->