Procházet zdrojové kódy

feat: 未登录默认标题加正文搜索

zhangyuhan před 10 měsíci
rodič
revize
fe983b3dab

+ 2 - 2
apps/bigmember_pc/src/views/search/bidding/model/base.js

@@ -1407,11 +1407,11 @@ export default function () {
           }
         })
       } else {
+        filterState.value.selectType = ['title', 'content']
         firstSearch()
       }
     } else {
-      let defaultSelectType = ['title', 'content']
-      filterState.value.selectType = defaultSelectType
+      filterState.value.selectType = ['title', 'content']
       firstSearch()
     }
   }