Colder.Admin.AntdVue icon indicating copy to clipboard operation
Colder.Admin.AntdVue copied to clipboard

前端分页问题!!!

Open ysq5202121 opened this issue 4 years ago • 2 comments

目前测试发现前端自定义排序字段的时候,会覆盖,并且为空,默认变成ID. 定义有问题,这样就不如不定义sorter,反正会覆盖 sorter: { field: 'CreateTime', order: 'desc' }, handleTableChange(pagination, filters, sorter) { this.pagination = { ...pagination } this.filters = { ...filters } //this.sorter = { ...sorter } ????=Object.assign(this.sorter, { ...sorter }) this.getDataList() }

ysq5202121 avatar May 11 '20 03:05 ysq5202121

?

ysq5202121 avatar Sep 25 '20 07:09 ysq5202121

//this.sorter = { ...sorter } ????{...this.sorter, ...sorter }

ysq5202121 avatar Jun 17 '21 09:06 ysq5202121