mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-17 19:23:26 +00:00
fix: 列表模式下重命名文件名称导致其他文件重命名的情况
This commit is contained in:
parent
c62839b22b
commit
528ea404ad
@ -605,7 +605,7 @@ export default {
|
|||||||
},
|
},
|
||||||
'on-update': (val, cb) => {
|
'on-update': (val, cb) => {
|
||||||
const file = this.fileLists.find(({id}) => id == row.id);
|
const file = this.fileLists.find(({id}) => id == row.id);
|
||||||
if (file) {
|
if (file && file._edit === true) {
|
||||||
file.newname = val
|
file.newname = val
|
||||||
this.onEnter(file);
|
this.onEnter(file);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user