diff --git a/frontend/src/views/dataset/common/DatasetChartDetail.vue b/frontend/src/views/dataset/common/DatasetChartDetail.vue index e9ff1644ba..6c85c50de7 100644 --- a/frontend/src/views/dataset/common/DatasetChartDetail.vue +++ b/frontend/src/views/dataset/common/DatasetChartDetail.vue @@ -40,6 +40,10 @@

{{ $t('dataset.excel_data') }}

{{ $t('dataset.custom_data') }}

+ +

{{ $t('dataset.table') }}

+

{{ info.table }}

+

{{ $t('dataset.mode') }}

{{ $t('dataset.direct_connect') }}

@@ -105,7 +109,8 @@ export default { chart: {}, table: {}, datasource: {} - } + }, + info: {} } }, watch: { @@ -128,10 +133,12 @@ export default { if (this.type === 'dataset') { post('/dataset/table/datasetDetail/' + this.data.id, null).then(res => { this.detail = res.data + this.info = JSON.parse(res.data.table.info) }) } else if (this.type === 'chart') { post('/chart/view/chartDetail/' + this.data.id, null).then(res => { this.detail = res.data + this.info = JSON.parse(res.data.table.info) }) } }