feat(B2): 附件管理改"未使用"语义+用途列;banner/link 上传带 scene

- AttachmentManage: orphanCount→unusedCount(零残留),用途列(文章/轮播/友链/站点配置/未使用)
- BannerManage/LinkManage 上传 action 传 scene;ArticleList 删除提示文案同步
- types AttachmentVo 增 refType;vitest 24/24+build 绿
This commit is contained in:
chenxing
2026-09-08 15:14:07 +08:00
parent 3990811ed5
commit bcd639cfc2
6 changed files with 24 additions and 20 deletions
+1 -1
View File
@@ -207,7 +207,7 @@ watch(() => store.siteId, () => run());
</FormItem>
<FormItem label="轮播图片" required>
<Upload
:action="uploadUrl() + '?siteId=' + store.siteId"
:action="uploadUrl() + '?siteId=' + store.siteId + '&scene=banner'"
with-credentials
:show-upload-list="false"
:format="['jpg', 'jpeg', 'png', 'gif', 'webp']"