From 27552c04a6ad86dfad3155a2d6d118b6048ba447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Czhuzihan=E2=80=9D=E2=80=83?= <“772644120@qq.com”> Date: Mon, 14 Jul 2025 13:16:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Dashboard.vue | 4 ++-- src/config.js | 2 +- upload.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Dashboard.vue b/src/components/Dashboard.vue index 8e0120c..42b4ec0 100644 --- a/src/components/Dashboard.vue +++ b/src/components/Dashboard.vue @@ -872,7 +872,7 @@ const initCharts = () => { tooltip: { trigger: 'axis' }, grid: { left: '3%', - right: '4%', + right: '4%', top: '10%', bottom: '15%', // 为标题留出空间 containLabel: true @@ -892,7 +892,7 @@ const initCharts = () => { show: true, lineStyle: { type: 'dashed', - color: 'rgba(255, 255, 255, 0.2)' + color: 'rgba(255, 255, 255, 0.2)' }, interval: 1 } diff --git a/src/config.js b/src/config.js index 49a221e..8619386 100644 --- a/src/config.js +++ b/src/config.js @@ -6,7 +6,7 @@ const config = { apiBaseUrl: 'http://192.168.18.9:48080', }, production: { - apiBaseUrl: 'http://36.103.203.89:48089', + apiBaseUrl: 'http://36.103.203.89:48088', } }; diff --git a/upload.js b/upload.js index f964bf7..6559cb2 100644 --- a/upload.js +++ b/upload.js @@ -29,7 +29,7 @@ const config = { const localDir = path.join(__dirname, 'dist'); // 服务器目标目录 // const remoteDir = process.env.SFTP_REMOTE_DIR; // 如果使用环境变量 -const remoteDir = '/home/ubuntu/mnt/Teacher_Evaluation/nginx/dist'; +const remoteDir = '/home/ubuntu/mnt/teacher_test/nginx-1/dist'; async function uploadToServer() { const sftp = new SftpClient();