Skip to content

Commit

Permalink
docs: ✏️ 优化 NoticeBar 垂直滚动示例
Browse files Browse the repository at this point in the history
  • Loading branch information
Moonofweisheng committed Nov 10, 2024
1 parent a1e20af commit ff1d377
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/theme/components/ExternalLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const ExternalLinkIconComponent = defineComponent({
</script>

<template>
<el-link :href="href" style="text-decoration: none;font-size: 1.2em;" :underline="false">
<el-link :href="href" target="_blank" style="text-decoration: none;font-size: 1.2em;" :underline="false">
<slot />
<ExternalLinkIconComponent style="margin-left: 0.25em;"> </ExternalLinkIconComponent>
</el-link>
Expand Down
4 changes: 2 additions & 2 deletions docs/component/notice-bar.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ const onNext = (index: number) => {
2. `text`为数组时才会进行滚动

```html
<wd-notice-bar prefix="warn-bold" direction="vertical" :text="textArray" :speed="0.5" :delay="3" custom-class="space" />
<wd-notice-bar prefix="warn-bold" direction="vertical" text="只有一条消息不会滚动" :speed="0.5" :delay="3" custom-class="space" />
<wd-notice-bar prefix="warn-bold" direction="vertical" :text="textArray" :delay="3" custom-class="space" />
<wd-notice-bar prefix="warn-bold" direction="vertical" text="只有一条消息不会滚动" :delay="3" custom-class="space" />
```

## 重置播放动画 <el-tag text style="vertical-align: middle;margin-left:8px;" effect="plain">1.3.13</el-tag>
Expand Down

0 comments on commit ff1d377

Please sign in to comment.