Commit 937271b3 authored by 姬鋆屾's avatar 姬鋆屾

pref:优化列表查询功能

parent 58052829
...@@ -77,6 +77,12 @@ export default { ...@@ -77,6 +77,12 @@ export default {
this.$refs.layouttable.$refs.searchform.form, this.$refs.layouttable.$refs.searchform.form,
{ hot: 1 } { hot: 1 }
); );
} else {
this.$refs.layouttable.$refs.searchform.form = Object.assign(
{},
this.$refs.layouttable.$refs.searchform.form,
{ hot: "" }
);
} }
let { path, query } = this.$refs.layouttable.$refs.searchform.$route; let { path, query } = this.$refs.layouttable.$refs.searchform.$route;
let data = this.$refs.layouttable.$refs.searchform.decode( let data = this.$refs.layouttable.$refs.searchform.decode(
...@@ -97,6 +103,7 @@ export default { ...@@ -97,6 +103,7 @@ export default {
}, },
changeIshot(val) { changeIshot(val) {
this.ishot = val; this.ishot = val;
this.onSearch();
}, },
}, },
data() { data() {
......
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