pageIndex

This commit is contained in:
lmj
2022-06-02 17:23:46 +08:00
parent 90ce3fa8f3
commit 71ac7e62cf
16 changed files with 87 additions and 15 deletions

View File

@@ -35,7 +35,7 @@
</div>
<div style="padding: 0px 5px">
<el-button
@click="getArticleList"
@click="getsearch"
icon="el-icon-search"
type="primary"
>搜索</el-button
@@ -167,9 +167,15 @@ export default {
},
},
methods: {
getsearch(){
this.pageData.pageIndex = 1;
this.getArticleList()
},
reset() {
this.pageData.status = ''
this.pageData.keyword = ''
this.pageData.pageIndex = 1;
this.getArticleList()
},
//获取文章列表数据