22 lines
301 B
Vue
22 lines
301 B
Vue
<template>
|
|
<div>
|
|
<svg-icon icon-class="github" @click="goto"/>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'YudaoGit',
|
|
data() {
|
|
return {
|
|
url: 'https://github.com/YunaiV/ruoyi-vue-pro'
|
|
}
|
|
},
|
|
methods: {
|
|
goto() {
|
|
window.open(this.url)
|
|
}
|
|
}
|
|
}
|
|
</script>
|