微盘bug

This commit is contained in:
yanran200730
2022-12-23 14:13:45 +08:00
parent da8c1bdaf2
commit 7f33c522ea

View File

@@ -25,6 +25,7 @@
ref="tree" ref="tree"
:props="defaultProps" :props="defaultProps"
lazy lazy
:expand-on-click-node="false"
node-key="spaceid" node-key="spaceid"
:load="loadNode" :load="loadNode"
:data="directoryList" :data="directoryList"
@@ -75,7 +76,7 @@
<ai-dialog <ai-dialog
:visible.sync="isShow" :visible.sync="isShow"
width="590px" width="590px"
:title="spaceid ? '修改目录名称' : '添加目录'" :title="form.fileId ? '修改目录名称' : '添加目录'"
@close="onClose" @close="onClose"
@onConfirm="onConfirm"> @onConfirm="onConfirm">
<el-form ref="form" :model="form" label-width="110px" label-position="right"> <el-form ref="form" :model="form" label-width="110px" label-position="right">
@@ -261,6 +262,7 @@
this.fatherid = item.fileId || '' this.fatherid = item.fileId || ''
if (e === 'add') { if (e === 'add') {
this.form.fileId = ''
this.isShow = true this.isShow = true
} else if (e === 'edit') { } else if (e === 'edit') {
this.form = { this.form = {