Commit 63656056 by 曾经

搜索条件重置,currentPage 变更为1

parent d7283b40
......@@ -235,6 +235,7 @@ export default {
// 搜索选项改变时
onSearchDataChange() {
this.searchData.currentPage = 1;
this.getList();
},
handleCurrentChange(val) {
......@@ -249,6 +250,7 @@ export default {
this.getList();
},
dateRangeChange(){
this.searchData.currentPage = 1;
this.getList();
},
submitMemberFields(fields) {
......
......@@ -158,6 +158,7 @@ export default {
// 搜索选项改变时
onSearchDataChange() {
this.searchData.currentPage = 1;
this.getList();
},
handleCurrentChange(val) {
......@@ -171,9 +172,6 @@ export default {
}
this.getList();
},
dateRangeChange(){
this.getList();
},
submitMemberFields(fields) {
doFetch(url.updateFields, {
pageName: this.searchData.pageName,
......
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