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 @@ -