docs: explain navigation, search and content components

This commit is contained in:
cieanyau committed 2026-11-06 00:37:46 +08:00
1 parent 2ff311005e
commit 179c6febf0
10 files changed
+34

No files matched your search

+3
View File
@@ -1,4 +1,5 @@
<script>
// 工单附件列表提供图片预览与下载,受保护附件通过鉴权下载接口获取。
import "~/assets/styles/TicketAttachments.DtbJGLkE.css";
import { toDisplayString } from "vue";
import { renderList } from "vue";
@@ -85,6 +86,7 @@ var S = {
U = null,
W = ref({}),
G = ref(``);
// 已有直接链接的附件不重复请求;按文件名锁定下载状态,防止连续重复点击。
async function K(e) {
if (
!(e.href || !e.storageName || W.value[e.name]) &&
@@ -110,6 +112,7 @@ var S = {
}
}
}
// 只有附件工具判定可预览的项目才打开弹窗,并重置上一张图片的加载状态。
function q(e) {
ticketAttachments_t(e) &&
((y.value = e),