no message
Former-commit-id: 0a96bb54e9270e451e59b72e00e35053a7c0e152 Former-commit-id: c250ba90da6546626b9831847630aae786c88344 Former-commit-id: c1182b1bdc6ea9b3934275286a93e2760a643bfe
This commit is contained in:
22
src/components/demo/GithubLink/index.vue
Normal file
22
src/components/demo/GithubLink/index.vue
Normal file
@@ -0,0 +1,22 @@
|
||||
<template>
|
||||
<el-tooltip :content="url" :placement="tooltipPlacement">
|
||||
<a :href="url" target="_blank">
|
||||
View in Github
|
||||
<span class="fa fa-github"></span>
|
||||
</a>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
url: {
|
||||
default: 'https://github.com/FairyEver'
|
||||
},
|
||||
tooltipPlacement: {
|
||||
default: 'top-end'
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user