fix: 修复仪表板不能创建最顶层目录问题

This commit is contained in:
wangjiahao 2022-06-02 17:30:50 +08:00
parent 3d8aee71df
commit 3a1e4db6e0

View File

@ -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'),