From 2548e328f7cd65e0fa1358318dbd9ec0ecac8358 Mon Sep 17 00:00:00 2001 From: 1549469775 <1549469775@qq.com> Date: Fri, 5 Aug 2022 14:55:32 +0800 Subject: [PATCH] fixed bug --- dist/pp.cjs.js | 1 - dist/pp.cjs.js.map | 2 +- src/func.ts | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dist/pp.cjs.js b/dist/pp.cjs.js index 577702b..00499fd 100644 --- a/dist/pp.cjs.js +++ b/dist/pp.cjs.js @@ -551,7 +551,6 @@ function onList(opt) { var tags_1 = value.tag.split(','); var filterTags = tagList.filter(function (v) { return tags_1.includes(v); }); if (!filterTags.length) { - console.log("暂无此标签的模板"); return; } } diff --git a/dist/pp.cjs.js.map b/dist/pp.cjs.js.map index 0e57237..73348a0 100644 --- a/dist/pp.cjs.js.map +++ b/dist/pp.cjs.js.map @@ -1 +1 @@ -{"version":3,"file":"pp.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/src/func.ts b/src/func.ts index 7b0ee94..e63c727 100644 --- a/src/func.ts +++ b/src/func.ts @@ -61,7 +61,7 @@ export function onList(opt?: { all?: boolean, tag:string, table?: boolean }) { let tags = value.tag.split(',') let filterTags = tagList.filter(v=>tags.includes(v)) if (!filterTags.length) { - console.log("暂无此标签的模板"); + // console.log("暂无此标签的模板"); return } }