From 999209757b13b1f483f87f6cb87b0a4dd0cc9156 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Sun, 3 Dec 2023 23:35:51 +0800 Subject: [PATCH] refactor: UI --- .../src/views/template-market/component/CategoryTemplateV2.vue | 3 --- core/core-frontend/src/views/template-market/index.vue | 1 - 2 files changed, 4 deletions(-) diff --git a/core/core-frontend/src/views/template-market/component/CategoryTemplateV2.vue b/core/core-frontend/src/views/template-market/component/CategoryTemplateV2.vue index 30797a68eb..f32c06b02a 100644 --- a/core/core-frontend/src/views/template-market/component/CategoryTemplateV2.vue +++ b/core/core-frontend/src/views/template-market/component/CategoryTemplateV2.vue @@ -42,9 +42,6 @@ const searchResult = computed( ) const showFlagCheck = template => { - if (!template.categoryNames) { - console.log('===templateTest' + JSON.stringify(template)) - } return template.showFlag && template.categoryNames?.includes(props.label) } diff --git a/core/core-frontend/src/views/template-market/index.vue b/core/core-frontend/src/views/template-market/index.vue index 87f9e14cfb..27cec002f7 100644 --- a/core/core-frontend/src/views/template-market/index.vue +++ b/core/core-frontend/src/views/template-market/index.vue @@ -273,7 +273,6 @@ const categoriesComputed = computed(() => { category => category.source === 'public' || category.source === state.templateSourceType ) } - console.log('categoriesComputed=' + JSON.stringify(result)) return result })