Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ui/src/components/global/mk-table/MkQuickCreate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ defineExpose({ close: resetDraft })
<!-- 展开快速创建 -->
<el-button v-else ref="triggerRef" type="primary" link @click="handleShowCreateInput">
<MkIcon name="icon_add_outlined" />
<span class="ml-1">{{ props.text }}</span>
<span>{{ props.text }}</span>
</el-button>
</div>
</template>
5 changes: 5 additions & 0 deletions ui/src/components/global/mk-table/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -193,13 +193,18 @@ defineExpose({ clearSelection, tableRef })
> .el-table__append-wrapper {
background: var(--el-bg-color);
border-bottom: var(--el-table-border);
cursor: pointer;
flex-shrink: 0;
left: 0;
order: -1;
position: sticky;
top: 0;
width: 100cqw;
z-index: 3;

&:hover {
background: var(--el-table-row-hover-bg-color);
}
}

> .el-table__body,
Expand Down
2 changes: 1 addition & 1 deletion ui/src/views/knowledge-detail/document/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ onMounted(() => {
>
<template v-if="showQuickCreate" #body-prepend>
<!-- 快速创建空白文档 -->
<MkQuickCreate ref="quickCreateRef" text="快速创建空白文档" placeholder="请输入文档名称" :loading="loading" @create="handleCreateDocument" />
<MkQuickCreate ref="quickCreateRef" text="快速创建空白文档" placeholder="请输入文档名称" @create="handleCreateDocument" />
</template>
<el-table-column prop="name" label="文档名称" min-width="220" show-overflow-tooltip />

Expand Down
Loading