fix(仪表板): 关闭分享链接后,访问之前的分享链接一直加载中

This commit is contained in:
fit2cloud-chenyw
2025-04-08 10:23:40 +08:00
committed by dataeaseShu
parent 509b11a6d4
commit cab511b99f

View File

@@ -78,9 +78,11 @@ class ShareProxy {
}
const res = await request.post({ url, data: param })
const proxyInfo: ProxyInfo = res.data as ProxyInfo
proxyInfo.uuid = uuid
if (this.pwd) {
proxyInfo.pwd = this.pwd
if (proxyInfo) {
proxyInfo.uuid = uuid
if (this.pwd) {
proxyInfo.pwd = this.pwd
}
}
return proxyInfo
}