1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-13 07:04:21 +08:00

Add link to releases (#745)

This commit is contained in:
Elsio Sanchez 2021-04-09 17:06:25 -04:00 committed by GitHub
parent 2f7eedb8bf
commit 2c67d04f5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@
<span> <span>
<b> {{ releasesLabel }} </b> <b> {{ releasesLabel }} </b>
</span> </span>
<a target="_blank" :href="releases"> <a target="_blank" :href="linkReleases">
<svg-icon icon-class="link" /> <svg-icon icon-class="link" />
</a> </a>
</div> </div>
@ -127,6 +127,9 @@ export default {
activeListReleases() { activeListReleases() {
const active = this.releasesList.findIndex(releases => this.releaseNotes.title === releases.title) const active = this.releasesList.findIndex(releases => this.releaseNotes.title === releases.title)
return active return active
},
linkReleases() {
return this.readmeRepositoryGithub.href + '/releases'
} }
}, },
created() { created() {