Skip to content

Commit

Permalink
feat: 问题管理
Browse files Browse the repository at this point in the history
  • Loading branch information
wangdan-fit2cloud committed Apr 9, 2024
1 parent d2a22eb commit 5addb68
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions ui/src/views/problem/component/RelateProblemDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,16 @@
:default-active="currentDocument"
>
<template #default="{ row }">
<span class="flex lighter">
<span class="flex lighter align-center">
<auto-tooltip :content="row.name">
{{ row.name }}
</auto-tooltip>
<div v-if="associationCount(row.id)" class="ml-4" style="height: 20px">
<el-badge :value="associationCount(row.id)" type="primary" />
</div>
<el-badge
:value="associationCount(row.id)"
type="primary"
v-if="associationCount(row.id)"
class="paragraph-badge ml-4"
/>
</span>
</template>
</common-list>
Expand Down Expand Up @@ -249,4 +252,10 @@ defineExpose({ open })
}
}
}
.paragraph-badge {
.el-badge__content {
height: auto;
display: table;
}
}
</style>

0 comments on commit 5addb68

Please sign in to comment.