修改:重命名时禁止打开文件
This commit is contained in:
parent
6b48d5d05a
commit
6ea2928e47
@ -2994,6 +2994,9 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击文件或文件夹
|
// 点击文件或文件夹
|
||||||
fileClick(row) {
|
fileClick(row) {
|
||||||
|
if (this.editingIndex === row.index){
|
||||||
|
return
|
||||||
|
}
|
||||||
this.openingFile = row
|
this.openingFile = row
|
||||||
if (row.isFolder) {
|
if (row.isFolder) {
|
||||||
this.editingIndex = -1
|
this.editingIndex = -1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user