Merge pull request #357 from dataease/pr@dev@fix_数据集预览翻页不显示数据;国际化

fix: 数据集翻页不显示数据;国际化
This commit is contained in:
XiaJunjie2020 2021-07-27 18:14:00 +08:00 committed by GitHub
commit e1ce57c154
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View File

@ -592,7 +592,7 @@ export default {
create_view: 'Create Chart',
data_preview: 'Data preview',
dimension: 'Dimension',
quota: 'Index',
quota: 'Quota',
title: 'Title',
show: 'Show',
chart_type: 'Chart Type',

View File

@ -117,6 +117,7 @@ export default {
},
methods: {
initTable(id) {
this.resetPage()
this.tableViewRowForm.row = 1000
if (id !== null) {
this.fields = []
@ -198,6 +199,14 @@ export default {
msg2Current(sourceParam) {
this.tabActive = 'updateInfo'
this.table.msgTaskId = sourceParam.taskId
},
resetPage() {
this.page = {
page: 1,
pageSize: 100,
show: 1000
}
}
}
}