forked from github/dataease
fix: 修复仪表板不能创建最顶层目录问题
This commit is contained in:
parent
3d8aee71df
commit
3a1e4db6e0
@ -147,7 +147,7 @@ export default {
|
||||
}
|
||||
this.editPanel.panelInfo['newFrom'] = this.inputType
|
||||
this.loading = true
|
||||
if (this.editPanel.optType === 'new') {
|
||||
if (this.editPanel.optType === 'new' || this.editPanel.optType === 'newFirstFolder') {
|
||||
panelSave(this.editPanel.panelInfo).then(response => {
|
||||
this.$message({
|
||||
message: this.$t('commons.save_success'),
|
||||
|
Loading…
Reference in New Issue
Block a user