forked from github/dataease
fix: 过滤条件选择空数据集给出提示
This commit is contained in:
parent
898cde9a27
commit
c66d24437b
@ -1757,7 +1757,8 @@ export default {
|
||||
choose_background: 'Choose Component Background',
|
||||
choose_background_tips: 'The component`s own background settings will overwrite the current settings',
|
||||
visual: 'Visual',
|
||||
prohibit_multiple: 'Prohibit multiple fields in the same dataset'
|
||||
prohibit_multiple: 'Prohibit multiple fields in the same dataset',
|
||||
be_empty_dir: 'is empty dir'
|
||||
},
|
||||
plugin: {
|
||||
local_install: 'Local installation',
|
||||
|
@ -1761,7 +1761,8 @@ export default {
|
||||
setting_jump: '跳轉設置',
|
||||
select_view: '請選擇視圖...',
|
||||
visual: '虛擬化',
|
||||
prohibit_multiple: '禁止同數據集多字段'
|
||||
prohibit_multiple: '禁止同數據集多字段',
|
||||
be_empty_dir: '是空目錄'
|
||||
},
|
||||
plugin: {
|
||||
local_install: '本地安裝',
|
||||
|
@ -1771,7 +1771,8 @@ export default {
|
||||
setting_jump: '跳转设置',
|
||||
select_view: '请选择视图...',
|
||||
visual: '虚拟化',
|
||||
prohibit_multiple: '禁止同数据集多字段'
|
||||
prohibit_multiple: '禁止同数据集多字段',
|
||||
be_empty_dir: '是空目录!'
|
||||
},
|
||||
plugin: {
|
||||
local_install: '本地安装',
|
||||
|
@ -489,6 +489,12 @@ export default {
|
||||
if (data.modelInnerType !== 'group') {
|
||||
this.showFieldDatas(data)
|
||||
} else {
|
||||
if (!data.children || !data.children.length) {
|
||||
const name = data.name
|
||||
const msg = `[${name}]` + this.$t('panel.be_empty_dir')
|
||||
this.$warning(msg)
|
||||
return
|
||||
}
|
||||
this.showNextGroup(data)
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user