Commit 5e26b6ab authored by “yiyousong”'s avatar “yiyousong”

fix:修改搜索

parent 12d6c8ae
......@@ -45,6 +45,7 @@ export default {
},
handleClose() {
this.$emit("clear");
this.$emit("input", "");
},
},
};
......
......@@ -15,7 +15,6 @@
slot="search"
width="834px"
@click="handleSearch"
@clear="handleClear"
v-model="searchVal"
></SearchBox>
</PageTop>
......@@ -170,9 +169,9 @@ export default {
this.visible = true;
},
// 重置搜索
handleClear() {
this.searchVal = "";
},
// handleClear() {
// this.searchVal = "";
// },
},
};
</script>
......
......@@ -22,7 +22,6 @@
width="834px"
v-model="searchVal"
@click="handleSearch"
@clear="handleClear"
></SearchBox>
</PageTop>
<!-- 事项列表 -->
......@@ -150,9 +149,9 @@ export default {
this.visible = true;
},
// 重置搜索
handleClear() {
this.searchVal = "";
},
// handleClear() {
// this.searchVal = "";
// },
},
};
</script>
......
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