mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-08 16:00:26 +08:00
文件下载链接找不到对应元素时不提示错误
This commit is contained in:
@@ -24,7 +24,7 @@ Vue.component("download-link", {
|
|||||||
} else {
|
} else {
|
||||||
let e = document.getElementById(this.vElement)
|
let e = document.getElementById(this.vElement)
|
||||||
if (e == null) {
|
if (e == null) {
|
||||||
teaweb.warn("找不到要下载的内容")
|
// 不提示错误,因为此时可能页面未加载完整
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
text = e.innerText
|
text = e.innerText
|
||||||
|
|||||||
Reference in New Issue
Block a user