提交 a02c565c authored 作者: taojinlong's avatar taojinlong

Merge branch 'v1.7' of github.com:dataease/dataease into v1.7

...@@ -116,7 +116,7 @@ export default { ...@@ -116,7 +116,7 @@ export default {
borderRadius: '0px', borderRadius: '0px',
currentPage: { currentPage: {
page: 1, page: 1,
pageSize: 10, pageSize: 20,
show: 0 show: 0
} }
} }
...@@ -165,7 +165,7 @@ export default { ...@@ -165,7 +165,7 @@ export default {
if (this.chart.data) { if (this.chart.data) {
this.fields = JSON.parse(JSON.stringify(this.chart.data.fields)) this.fields = JSON.parse(JSON.stringify(this.chart.data.fields))
const attr = JSON.parse(this.chart.customAttr) const attr = JSON.parse(this.chart.customAttr)
this.currentPage.pageSize = parseInt(attr.size.tablePageSize ? attr.size.tablePageSize : 10) this.currentPage.pageSize = parseInt(attr.size.tablePageSize ? attr.size.tablePageSize : 20)
datas = JSON.parse(JSON.stringify(this.chart.data.tableRow)) datas = JSON.parse(JSON.stringify(this.chart.data.tableRow))
if (this.chart.type === 'table-info') { if (this.chart.type === 'table-info') {
// 计算分页 // 计算分页
...@@ -341,7 +341,7 @@ export default { ...@@ -341,7 +341,7 @@ export default {
resetPage() { resetPage() {
this.currentPage = { this.currentPage = {
page: 1, page: 1,
pageSize: 10, pageSize: 20,
show: 0 show: 0
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论