浏览代码

clear search after opening target link

Rodja Trappe 1 年之前
父节点
当前提交
a8c4ffdf85
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      search.vue

+ 1 - 0
search.vue

@@ -78,6 +78,7 @@ export default {
       } else {
         window.location.href = url;
       }
+      this.query = "";
     },
   },
 };