mirror of
https://github.com/fatedier/frp.git
synced 2026-04-14 04:59:11 +08:00
web: support to clear offline proxies data on dashboard (#3963)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<ProxyView :proxies="proxies" proxyType="http" />
|
||||
<ProxyView :proxies="proxies" proxyType="http" @refresh="fetchData"/>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
@@ -27,6 +27,7 @@ const fetchData = () => {
|
||||
return res.json()
|
||||
})
|
||||
.then((json) => {
|
||||
proxies.value = []
|
||||
for (let proxyStats of json.proxies) {
|
||||
proxies.value.push(
|
||||
new HTTPProxy(proxyStats, vhostHTTPPort, subdomainHost)
|
||||
|
||||
Reference in New Issue
Block a user