소스 검색

Update index.tsx

lex 1 년 전
부모
커밋
d84fdc427a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/hot-music-more/index.tsx

+ 1 - 1
src/views/hot-music-more/index.tsx

@@ -141,7 +141,7 @@ export default defineComponent({
 
     // 判断是否有数据
     const isSearch = computed(() => {
-      return state.subjectList.length > 2 && state.types.length > 0
+      return state.subjectList.length > 2 || state.types.length > 0
         ? true
         : false;
     });