Browse Source

fix:搜索为空时,不跳转页面

kele 2 năm trước cách đây
mục cha
commit
542c1aca1d
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      pages/index/search.vue

+ 0 - 2
pages/index/search.vue

@@ -46,8 +46,6 @@
       } else {
         sheep.$router.go('/pages/goods/list', { keyword: res.value });
       }
-    } else {
-      sheep.$router.go('/pages/goods/list', { keyword: res.value });
     }
   }