mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
18 lines
267 B
Vue
18 lines
267 B
Vue
<template>
|
|
<a :target="newTab ? '_blank' : null">
|
|
<slot />
|
|
</a>
|
|
</template>
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue'
|
|
|
|
export default defineComponent({
|
|
props: {
|
|
newTab: {
|
|
type: Boolean,
|
|
default: true,
|
|
},
|
|
},
|
|
})
|
|
</script>
|