zs 6 月之前
父節點
當前提交
6c98e72ffb
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      src/views/search/parts/all.vue

+ 9 - 0
src/views/search/parts/all.vue

@@ -72,5 +72,14 @@ defineExpose({
 })
 })
 provide('searchValue', searchValue)
 provide('searchValue', searchValue)
 provide('is_show', '1')
 provide('is_show', '1')
+watch(
+  searchValue,
+  () => {
+    search()
+  },
+  {
+    deep: true
+  }
+)
 </script>
 </script>
 <style scoped lang="scss"></style>
 <style scoped lang="scss"></style>