Skip to content

Commit

Permalink
perf: 优化项目面板
Browse files Browse the repository at this point in the history
  • Loading branch information
kuaifan committed Dec 14, 2024
1 parent da7e832 commit 8cbae62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion resources/assets/js/pages/manage/components/ProjectPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down
2 changes: 1 addition & 1 deletion resources/mobile
Submodule mobile updated 1 files
+2 −2 src/pages/index.vue

0 comments on commit 8cbae62

Please sign in to comment.