Skip to content

Commit 8e15f12

Browse files
fix: prevent <a> tag to be crawled
1 parent 943a345 commit 8e15f12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/pagination/Pagination.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export default defineComponent({
7575
</button>
7676
);
7777
let jumpPrevIcon = (
78-
<a class={`${pre}-item-link`}>
78+
<a rel='nofollow' class={`${pre}-item-link`}>
7979
{/* You can use transition effects in the container :) */}
8080
<div class={`${pre}-item-container`}>
8181
<DoubleLeftOutlined class={`${pre}-item-link-icon`} />
@@ -84,7 +84,7 @@ export default defineComponent({
8484
</a>
8585
);
8686
let jumpNextIcon = (
87-
<a class={`${pre}-item-link`}>
87+
<a rel='nofollow' class={`${pre}-item-link`}>
8888
{/* You can use transition effects in the container :) */}
8989
<div class={`${pre}-item-container`}>
9090
<DoubleRightOutlined class={`${pre}-item-link-icon`} />

0 commit comments

Comments
 (0)