Skip to content

Commit d76144a

Browse files
committed
fix: 让浏览器知道首页的图片是链接
1 parent 38ab587 commit d76144a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/pages/index/components/RightBar.vue

+2-4
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,13 @@ const commonLinkList = reactive([
4848
src="/assets/banners/banner_minor1.svg"
4949
alt=""
5050
class="w-full cursor-pointer"
51-
@click="
52-
toOutUrl('https://wiki.aosc.io/zh/aosc-os/is-aosc-os-right-for-me/')
53-
"
51+
href="https://wiki.aosc.io/zh/aosc-os/is-aosc-os-right-for-me"
5452
/>
5553
<img
5654
src="/assets/banners/banner_minor2.svg"
5755
alt=""
5856
class="w-full cursor-pointer"
59-
@click="toOutUrl('https://bbs.aosc.io/')"
57+
href="https://bbs.aosc.io/"
6058
/>
6159
<div class="flex flex-col flex-grow">
6260
<category-second

0 commit comments

Comments
 (0)