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.editPanel.panelInfo['newFrom'] = this.inputType
|
||||||
this.loading = true
|
this.loading = true
|
||||||
if (this.editPanel.optType === 'new') {
|
if (this.editPanel.optType === 'new' || this.editPanel.optType === 'newFirstFolder') {
|
||||||
panelSave(this.editPanel.panelInfo).then(response => {
|
panelSave(this.editPanel.panelInfo).then(response => {
|
||||||
this.$message({
|
this.$message({
|
||||||
message: this.$t('commons.save_success'),
|
message: this.$t('commons.save_success'),
|
||||||
|
Loading…
Reference in New Issue
Block a user