Commit 936bb73b by liudx

首页切换效果

parent 81ed31db
...@@ -377,6 +377,9 @@ export default { ...@@ -377,6 +377,9 @@ export default {
changetab(id) { changetab(id) {
// console.log(id) // console.log(id)
this.tab_id = id; this.tab_id = id;
this.search_result_show = false;
this.search_result = []
this.searchValue = ''
}, },
onSearch() { onSearch() {
if (this.tab_id == "1") { if (this.tab_id == "1") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment