mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-24 02:00:27 +00:00
perf: 优化项目面板
This commit is contained in:
parent
da7e832f21
commit
8cbae629a5
@ -1720,11 +1720,12 @@ export default {
|
|||||||
if (currentVisible === originalVisible) {
|
if (currentVisible === originalVisible) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
const firstVisible = this.taskVisibility[taskId] === undefined && currentVisible;
|
||||||
this.$set(this.taskVisibility, taskId, {
|
this.$set(this.taskVisibility, taskId, {
|
||||||
visible: currentVisible,
|
visible: currentVisible,
|
||||||
height: taskRect.height
|
height: taskRect.height
|
||||||
});
|
});
|
||||||
if (currentVisible) {
|
if (firstVisible) {
|
||||||
await this.$nextTick();
|
await this.$nextTick();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Subproject commit 0e1939dec7e93aa07a0b65acfabfd14820f9422a
|
Subproject commit 4aa3f987edb5704f3caab4a8ea3c258590ae72f9
|
||||||
Loading…
x
Reference in New Issue
Block a user