refactor(web-antd): 修正 Tinyflow 组件中的导入路径

- 将 './ui/typing' 修改为 './ui/typeing'(可能是原代码中的拼写错误)
- 将 './ui/typing' 修改为 './ui/index',以符合常见的模块入口文件结构
This commit is contained in:
gjd
2025-06-16 13:16:07 +08:00
parent 0f701dd49b
commit 31a98ba9f8
27 changed files with 700 additions and 1592 deletions

View File

@@ -24,7 +24,11 @@ defineExpose({
</script>
<template>
<div class="flex w-[350px] flex-col bg-[#f5f7f9] p-5">
<h3 class="title w-full text-center leading-[28px]">思维导图创作中心</h3>
<h3
class="h-[1.75rem] w-full text-center text-[1.25rem] leading-[28px] text-[hsl(var(--primary))]"
>
思维导图创作中心
</h3>
<div class="flex-grow overflow-y-auto">
<div>
<b>您的需求</b>
@@ -67,11 +71,3 @@ defineExpose({
</div>
</div>
</template>
<style lang="scss" scoped>
.title {
height: 1.75rem;
font-size: 1.25rem;
color: hsl(var(--primary));
}
</style>

View File

@@ -120,7 +120,7 @@ defineExpose({
</script>
<template>
<Card class="my-card h-full flex-grow">
<Card class="my-card flex h-full flex-grow flex-col">
<template #title>
<div class="m-0 flex shrink-0 items-center justify-between px-7">
<h3>思维导图预览</h3>
@@ -176,9 +176,6 @@ defineExpose({
}
.my-card {
display: flex;
flex-direction: column;
:deep(.ant-card-body) {
box-sizing: border-box;
flex-grow: 1;