Skip to content

Commit 8156aa1

Browse files
committed
代码调整
1 parent 824c64a commit 8156aa1

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

src/views/component_basic_example/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function open(url: string) {
3939
<template>
4040
<div>
4141
<FaPageHeader title="基础组件">
42-
<template #content>
42+
<template #description>
4343
<div class="space-y-2">
4444
<p>框架内置 Element Plus 组件库,本页仅展示部分组件,更多组件及使用说明请查看 Element Plus 官网</p>
4545
<FaButton variant="link" class="h-auto p-0" @click="eventBus.emit('global-ui-component-switch')">

src/views/plugin_example/animation.vue

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,15 @@ function open(url: string) {
201201
<template>
202202
<div>
203203
<Alert />
204-
<FaPageHeader title="过渡动画" description="结合 <transition> 组件使用">
205-
<template #content>
206-
<p>
207-
安装命令:
208-
<Command text="pnpm add animate.css" />
209-
</p>
204+
<FaPageHeader title="过渡动画">
205+
<template #description>
206+
<div class="space-y-2">
207+
<p>结合 &lt;Transition&gt; 组件使用</p>
208+
<p>
209+
安装命令:
210+
<Command text="pnpm add animate.css" />
211+
</p>
212+
</div>
210213
</template>
211214
<FaButton variant="outline" @click="open('https://github.com/animate-css/animate.css')">
212215
<FaIcon name="i-ep:link" />

0 commit comments

Comments
 (0)