优化筛选框

This commit is contained in:
2026-09-01 17:29:10 +08:00
parent 25657c613a
commit 33b87fd396
2 changed files with 7 additions and 1 deletions
+5 -1
View File
@@ -208,7 +208,11 @@ export default {
// 标签组
const tagGroupsData = (tagGroupsRes.data && tagGroupsRes.data.data) || []
const filterGroups = tagGroupsData.map((g) => ({
// 需求:前端注释物流渠道、印刷工艺两组;恢复时删除该过滤即可
const hiddenGroupNames = ['物流渠道', '印刷工艺']
const filterGroups = tagGroupsData
.filter((g) => hiddenGroupNames.indexOf(g.groupName) === -1)
.map((g) => ({
id: g.id,
title: g.groupName,
tags: (g.tags || []).map((t) => ({