mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
pageIndex
This commit is contained in:
@@ -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()
|
||||
},
|
||||
//获取文章列表数据
|
||||
|
||||
Reference in New Issue
Block a user