cuiyalong 9 mesi fa
parent
commit
4f460af193
1 ha cambiato i file con 3 aggiunte e 5 eliminazioni
  1. 3 5
      apps/mobile/src/views/search/result/sun/index.vue

+ 3 - 5
apps/mobile/src/views/search/result/sun/index.vue

@@ -1367,11 +1367,9 @@ export default {
         this.toggleSearchBlurData.count = ''
 
         if (searchMode === 0) {
-          // const canAutoToggleBlurMode = count < 1 && blurCount > count
-          // const canShowToggleBlurModeTip =
-          //   count >= 1 && count < 50 && blurCount > count
-          const canAutoToggleBlurMode = count < 1
-          const canShowToggleBlurModeTip = count >= 1 && count < 50
+          const canAutoToggleBlurMode = count < 1 && blurCount > count
+          const canShowToggleBlurModeTip =
+            count >= 1 && count < 50 && blurCount > count
 
           if (canShowToggleBlurModeTip) {
             this.toggleSearchBlurData.show = true