From a8b982f32c6ba0b8b86c703a6371130b0b48c473 Mon Sep 17 00:00:00 2001 From: timerzz Date: Tue, 21 May 2024 22:09:02 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E6=94=AF=E6=8C=81pusher=E5=88=86?= =?UTF-8?q?=E7=A6=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf | 2 +- src/views/Pusher/index.vue | 1 + src/views/Watcher/index.vue | 30 ++++++++++++++++++------------ vite.config.js | 14 ++++++++++++++ 4 files changed, 34 insertions(+), 13 deletions(-) diff --git a/nginx.conf b/nginx.conf index 5677ee9..1489e13 100644 --- a/nginx.conf +++ b/nginx.conf @@ -16,7 +16,7 @@ server { location /api/v1/pushers { resolver 10.43.0.10 valid=10s; # 6.6.6.6 为自建DNS - proxy_pass http://ht-watcher:8080; + proxy_pass http://pushers:8080; } location /api/v1/watchers { diff --git a/src/views/Pusher/index.vue b/src/views/Pusher/index.vue index d84b9dd..8503b38 100644 --- a/src/views/Pusher/index.vue +++ b/src/views/Pusher/index.vue @@ -118,6 +118,7 @@ const cleanAddModal=()=>{ remark:'', option: {} } + addModal.visible = false addModal.formItems = [] formRef.value.clearValidate() } diff --git a/src/views/Watcher/index.vue b/src/views/Watcher/index.vue index 4e4aec1..a248ec9 100644 --- a/src/views/Watcher/index.vue +++ b/src/views/Watcher/index.vue @@ -24,9 +24,9 @@ -