Skip to content

Commit

Permalink
feat(link): [link] Check and modify issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Youyou-smiles committed Oct 22, 2024
1 parent c682b1c commit 847398b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<tiny-link :underline="false" href="localhost:3000/#/zh-CN/index" target="_blank">默认链接</tiny-link>
<tiny-link :underline="false" href="https://opentiny.design/tiny-vue" target="_blank">默认链接</tiny-link>
</template>

<script setup>
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/link/config-href.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<tiny-link :underline="false" href="localhost:3000/#/zh-CN/index" target="_blank">默认链接</tiny-link>
<tiny-link :underline="false" href="https://opentiny.design/tiny-vue" target="_blank">默认链接</tiny-link>
</template>

<script>
Expand Down
12 changes: 6 additions & 6 deletions examples/sites/demos/pc/app/link/custom-icon-composition-api.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@
<tiny-icon-fillet-external-link class="tiny-svg-link"></tiny-icon-fillet-external-link> </template
>链接按钮</tiny-link
>
<tiny-link disabled>
<tiny-link>
<template #icon>
<tiny-icon-fillet-external-link class="tiny-svg-size"></tiny-icon-fillet-external-link> </template
>链接按钮</tiny-link
>
<tiny-link :underline="false" :icon="IconEdit">编辑</tiny-link>
<tiny-link :underline="false" :icon="IconEdit" disabled>禁用</tiny-link>
<tiny-link :underline="false">查看<tiny-icon-view class="tiny-svg-size"></tiny-icon-view> </tiny-link>
<tiny-link :underline="false">
<tiny-link :icon="IconEdit">编辑</tiny-link>
<tiny-link :icon="IconEdit">禁用</tiny-link>
<tiny-link>查看<tiny-icon-view class="tiny-svg-size"></tiny-icon-view> </tiny-link>
<tiny-link>
<template #icon> <tiny-icon-del class="tiny-svg-size"></tiny-icon-del> </template>删除</tiny-link
>
</div>
</template>

<script setup>
import { Link as TinyLink } from '@opentiny/vue'
import { TinyLink } from '@opentiny/vue'
import { IconEditor, iconView, IconDeleteL, iconFilletExternalLink } from '@opentiny/vue-icon'
const IconEdit = IconEditor()
Expand Down
10 changes: 5 additions & 5 deletions examples/sites/demos/pc/app/link/custom-icon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<template #icon> <icon-fillet-external-link class="tiny-svg-link"></icon-fillet-external-link> </template
>链接按钮</tiny-link
>
<tiny-link disabled>
<tiny-link>
<template #icon> <icon-fillet-external-link class="tiny-svg-size"></icon-fillet-external-link> </template
>链接按钮</tiny-link
>
<tiny-link :underline="false" :icon="IconEdit">编辑</tiny-link>
<tiny-link :underline="false" :icon="IconEdit" disabled>禁用</tiny-link>
<tiny-link :underline="false">查看<icon-view class="tiny-svg-size"></icon-view> </tiny-link>
<tiny-link :underline="false">
<tiny-link :icon="IconEdit">编辑</tiny-link>
<tiny-link :icon="IconEdit">禁用</tiny-link>
<tiny-link>查看<icon-view class="tiny-svg-size"></icon-view> </tiny-link>
<tiny-link>
<template #icon> <icon-del class="tiny-svg-size"></icon-del> </template>删除</tiny-link
>
</div>
Expand Down

0 comments on commit 847398b

Please sign in to comment.