|
@@ -59,8 +59,10 @@ export default {
|
|
|
...columnmapActions(['getcolumn']),
|
|
|
...contentmapActions(['getcontent']),
|
|
|
// 分页
|
|
|
- currentChange (e) {
|
|
|
- this.getcontent({ code: this.columnitems[0].code, skip: e - 1, limit: this.pageSize })
|
|
|
+ async currentChange (e) {
|
|
|
+ await this.getcontent({ code: this.columnitems[0].code, skip: e - 1, limit: this.pageSize })
|
|
|
+ this.contentlist = [...this.contentitems]
|
|
|
+ this.total = this.contenttotal
|
|
|
},
|
|
|
// 跳转正文
|
|
|
btn (e) {
|