mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-15 05:12:49 +00:00
perf: 优化点击上传列表效果
This commit is contained in:
parent
8ed9186ff4
commit
a6fac96ec1
@ -1043,15 +1043,15 @@ export default {
|
||||
},
|
||||
|
||||
browseFolder(id, shakeId = null) {
|
||||
if (this.pid == id && this.fid == 0 && shakeId) {
|
||||
this.shakeFile(shakeId);
|
||||
return;
|
||||
}
|
||||
if (id > 0) {
|
||||
if (this.pid == id && this.fid == 0 && shakeId) {
|
||||
this.shakeFile(shakeId);
|
||||
return;
|
||||
}
|
||||
this.goForward({name: 'manage-file', params: {folderId: id, fileId: null, shakeId}});
|
||||
} else {
|
||||
this.searchKey = '';
|
||||
this.goForward({name: 'manage-file'});
|
||||
this.goForward({name: 'manage-file', params: {folderId: null, fileId: null, shakeId}});
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user