forked from github/dataease
fix: 仪表板目录无法重命名问题
This commit is contained in:
parent
73dc5c7e99
commit
b69920675f
@ -659,7 +659,7 @@ export default {
|
||||
rose_radius: '園角',
|
||||
view_name: '視圖名稱',
|
||||
name_can_not_empty: '名稱不能為空',
|
||||
template_can_not_empty: '请选择仪表盘',
|
||||
template_can_not_empty: '请选择仪表板',
|
||||
custom_count: '記錄數',
|
||||
table_title_fontsize: '表頭字體大小',
|
||||
table_item_fontsize: '表格字體大小',
|
||||
|
@ -659,7 +659,7 @@ export default {
|
||||
rose_radius: '圆角',
|
||||
view_name: '视图名称',
|
||||
name_can_not_empty: '名称不能为空',
|
||||
template_can_not_empty: '请选择仪表盘',
|
||||
template_can_not_empty: '请选择仪表版',
|
||||
custom_count: '记录数',
|
||||
table_title_fontsize: '表头字体大小',
|
||||
table_item_fontsize: '表格字体大小',
|
||||
|
@ -106,7 +106,7 @@ export default {
|
||||
this.$warning(this.$t('chart.name_can_not_empty'))
|
||||
return false
|
||||
}
|
||||
if (!this.editPanel.panelInfo.panelData) {
|
||||
if (!this.editPanel.panelInfo.panelData && this.editPanel.optType === 'new' && this.inputType === 'copy') {
|
||||
this.$warning(this.$t('chart.template_can_not_empty'))
|
||||
return false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user