Skip to content

Commit

Permalink
fix: 1.blockId不存在 feat: 1.简单修改样式
Browse files Browse the repository at this point in the history
  • Loading branch information
JuckZ committed Apr 25, 2023
1 parent e658bb5 commit 67206c4
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion src/ui/DataViewTimeLine.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="taskListContainer">
<div
v-for="task in taskList"
:key="task.blockId"
:key="task.id"
@mouseenter="previewTask($event, task)"
@click="onClicked($event, task)"
>
Expand Down Expand Up @@ -135,5 +135,27 @@ const onChecked = async (evt, item: STask) => {
<style lang="scss" scoped>
.taskListContainer {
margin: 8px 0;
max-height: 300px;
max-width: 100%;
cursor: pointer;
overflow-y: scroll;
word-wrap: break-word;
word-break: break-all;
overflow-x: hidden;
input {
cursor: pointer;
}
div {
padding: 4px 8px;
border-radius: 4px;
margin: 4px 0;
background-color: rgba(0, 0, 0, 0.1);
transition: background-color 0.2s ease-in-out;
}
div:hover {
background-color: rgba(0, 183, 255, 0.692);
}
}
</style>

0 comments on commit 67206c4

Please sign in to comment.