perf: 优化项目面板
This commit is contained in:
@@ -1720,11 +1720,12 @@ export default {
|
||||
if (currentVisible === originalVisible) {
|
||||
continue;
|
||||
}
|
||||
const firstVisible = this.taskVisibility[taskId] === undefined && currentVisible;
|
||||
this.$set(this.taskVisibility, taskId, {
|
||||
visible: currentVisible,
|
||||
height: taskRect.height
|
||||
});
|
||||
if (currentVisible) {
|
||||
if (firstVisible) {
|
||||
await this.$nextTick();
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
Submodule resources/mobile updated: 0e1939dec7...4aa3f987ed
Reference in New Issue
Block a user