优化筛选框
This commit is contained in:
@@ -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) => ({
|
||||
|
||||
Reference in New Issue
Block a user