mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-18 15:22:50 +00:00
perf: 优化项目页面任务加载速度
This commit is contained in:
parent
a6873302f3
commit
9f186f1e9c
@ -175,6 +175,7 @@
|
||||
<TaskMenu :ref="`taskMenu_${item.id}`" :task="item" icon="ios-more"/>
|
||||
</div>
|
||||
</div>
|
||||
<template v-if="!item.complete_at">
|
||||
<div v-if="item.desc" class="task-desc"><pre v-html="item.desc"></pre></div>
|
||||
<div v-if="item.task_tag.length > 0" class="task-tags">
|
||||
<Tag v-for="(tag, keyt) in item.task_tag" :key="keyt" :color="tag.color">{{tag.name}}</Tag>
|
||||
@ -204,6 +205,7 @@
|
||||
</ETooltip>
|
||||
</div>
|
||||
<em v-if="item.p_name" class="priority-color" :style="{backgroundColor:item.p_color}"></em>
|
||||
</template>
|
||||
</div>
|
||||
<div class="task-item additem">
|
||||
<TaskAddSimple
|
||||
|
||||
@ -587,13 +587,6 @@
|
||||
text-decoration: line-through;
|
||||
}
|
||||
}
|
||||
.task-desc,
|
||||
.task-tags,
|
||||
.task-users,
|
||||
.task-progress,
|
||||
.priority-color {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
&.hidden {
|
||||
display: none;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user