forked from github/dataease
refactor:下钻到最后一级提示对应信息
This commit is contained in:
parent
8e7fe632d9
commit
effcab3ec4
@ -309,6 +309,12 @@ export default {
|
||||
this.chart.type === 'map' && this.sendToChildren(param)
|
||||
this.drillClickDimensionList.push({ dimensionList: param.data.dimensionList })
|
||||
this.getData(this.element.propValue.viewId)
|
||||
} else if (this.chart.drillFields.length > 0) {
|
||||
this.$message({
|
||||
type: 'error',
|
||||
message: this.$t('chart.last_layer'),
|
||||
showClose: true
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -842,7 +842,8 @@ export default {
|
||||
width: 'Width',
|
||||
height: 'Height',
|
||||
system_case: 'System',
|
||||
custom_case: 'Custom'
|
||||
custom_case: 'Custom',
|
||||
last_layer: 'This Is The Last Layer'
|
||||
},
|
||||
dataset: {
|
||||
sheet_warn: 'There are multiple sheet pages, and the first one is extracted by default',
|
||||
|
@ -842,7 +842,8 @@ export default {
|
||||
width: '寬度',
|
||||
height: '高度',
|
||||
system_case: '系統方案',
|
||||
custom_case: '自定義'
|
||||
custom_case: '自定義',
|
||||
last_layer: '当前已经是最后一级'
|
||||
},
|
||||
dataset: {
|
||||
sheet_warn: '有多個sheet頁面,默認抽取第一個',
|
||||
|
@ -842,7 +842,8 @@ export default {
|
||||
width: '宽度',
|
||||
height: '高度',
|
||||
system_case: '系统方案',
|
||||
custom_case: '自定义'
|
||||
custom_case: '自定义',
|
||||
last_layer: '当前已经是最后一级'
|
||||
},
|
||||
dataset: {
|
||||
sheet_warn: '有多个 Sheet 页,默认抽取第一个',
|
||||
|
@ -1416,6 +1416,12 @@ export default {
|
||||
this.drillClickDimensionList.push({ dimensionList: param.data.dimensionList })
|
||||
this.getData(this.param.id)
|
||||
}
|
||||
} else if (this.view.drillFields.length > 0) {
|
||||
this.$message({
|
||||
type: 'error',
|
||||
message: this.$t('chart.last_layer'),
|
||||
showClose: true
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user