feat(frontend):fix

This commit is contained in:
junjie 2021-04-02 11:39:24 +08:00
parent 959a044ef6
commit cffd9bb952

View File

@ -57,6 +57,7 @@ export default {
initData() { initData() {
this.resetData() this.resetData()
if (this.table.id) { if (this.table.id) {
this.table.row = 10
post('/dataset/table/getPreviewData', this.table).then(response => { post('/dataset/table/getPreviewData', this.table).then(response => {
this.fields = response.data.fields this.fields = response.data.fields
this.data = response.data.data this.data = response.data.data