perf(仪表板): 公共链接过期后禁止加载资源请求

This commit is contained in:
fit2cloud-chenyw 2024-11-19 10:20:09 +08:00
parent 8a48e296e8
commit 7772099138

View File

@ -80,7 +80,15 @@ onMounted(async () => {
}
linkExist.value = true
linkExp.value = !!proxyInfo.exp
if (!!proxyInfo.exp) {
loading.value = false
return
}
pwdValid.value = !!proxyInfo.pwdValid
if (!pwdValid.value) {
loading.value = false
return
}
state.ticketValidVO = proxyInfo.ticketValidVO
nextTick(() => {
const method = pcanvas?.value?.loadCanvasDataAsync