diff --git a/src/views/plugin/PluginCardListView.vue b/src/views/plugin/PluginCardListView.vue index 4f045deb..fd7a4f05 100644 --- a/src/views/plugin/PluginCardListView.vue +++ b/src/views/plugin/PluginCardListView.vue @@ -215,7 +215,7 @@ const defaultColor = '#2196F3' // 计算过滤表单是否全部为空 const isFilterFormEmpty = computed(() => { return ( - filterForm.name === '' && + !filterForm.name && filterForm.author.length === 0 && filterForm.label.length === 0 && filterForm.repo.length === 0