no message
Former-commit-id: 5f938748efeb16f6752d86fb7ac9402270ade8eb Former-commit-id: 1f6e716ef58f4b84a032152b190e3e3907c3b673 Former-commit-id: e488bf52f103d1c7529bdff7cbcd000531e07410
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
<i18n src="./lang.json"></i18n>
|
||||
|
||||
<template>
|
||||
<el-tooltip :content="url" :placement="tooltipPlacement">
|
||||
<a :href="url" target="_blank" class="link">
|
||||
View in Github
|
||||
{{$t('label')}}
|
||||
<i class="fa fa-github"></i>
|
||||
</a>
|
||||
</el-tooltip>
|
||||
|
||||
11
src/components/demo/GithubLink/lang.json
Normal file
11
src/components/demo/GithubLink/lang.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"cn": {
|
||||
"label": "在 Github 查看"
|
||||
},
|
||||
"en": {
|
||||
"label": "View in Github"
|
||||
},
|
||||
"ja": {
|
||||
"label": "調べでGithub"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user