fix(common-tools): 资料下载锚点过 safeHttpUrl 出口守卫

safe-url-and-row-id 守卫要求动态 :href 一律过协议过滤,下载锚点补套
safeHttpUrl(与本页外链锚点同款写法)。
This commit is contained in:
2026-10-23 22:41:27 +08:00
parent b5d08ed77e
commit 807ecaabe1
@@ -112,7 +112,7 @@
<ul class="resource-list">
<li v-for="item in PRICING_DOWNLOADS" :key="item.file" class="resource-item">
<span class="resource-name">{{ item.name }}</span>
<a class="resource-action" :href="downloadHref(item.file)" download>下载</a>
<a class="resource-action" :href="safeHttpUrl(downloadHref(item.file))" download>下载</a>
</li>
</ul>
</div>