forked from github/dataease
Merge pull request #4967 from dataease/pr@dev@feat_chart_date
feat(视图): Doris,StarRocks同环比支持周,季度
This commit is contained in:
commit
6a7e597c14
File diff suppressed because it is too large
Load Diff
@ -298,7 +298,10 @@ export default {
|
||||
},
|
||||
getDateExtStatus() {
|
||||
if (this.chart) {
|
||||
this.showDateExt = this.chart.datasourceType === 'mysql' && this.chart.datasetMode === 0
|
||||
this.showDateExt = this.showDateExt = this.chart.datasourceType === 'mysql' ||
|
||||
this.chart.datasourceType === 'ds_doris' ||
|
||||
this.chart.datasourceType === 'StarRocks' ||
|
||||
this.chart.datasetMode === 1
|
||||
} else {
|
||||
this.showDateExt = false
|
||||
}
|
||||
|
@ -342,7 +342,10 @@ export default {
|
||||
|
||||
getDateExtStatus() {
|
||||
if (this.chart) {
|
||||
this.showDateExt = this.chart.datasourceType === 'mysql' && this.chart.datasetMode === 0
|
||||
this.showDateExt = this.chart.datasourceType === 'mysql' ||
|
||||
this.chart.datasourceType === 'ds_doris' ||
|
||||
this.chart.datasourceType === 'StarRocks' ||
|
||||
this.chart.datasetMode === 1
|
||||
} else {
|
||||
this.showDateExt = false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user