提交 b95fb9a2 编写于 作者: H hjdhnx

本地js新增动态分类排除

上级 011b64e4
......@@ -888,6 +888,8 @@ function homeParse(homeObj) {
}
}
// 排除分类
classes = classes.filter(it=>!homeObj.cate_exclude || !(new RegExp(homeObj.cate_exclude).test(it.type_name)));
let resp = {
'class': classes
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册