提交 | 用户 | 时间 | ||
fd2207 | 1 | <template> |
懒 | 2 | <div> |
3 | <svg-icon icon-class="github" @click="goto" /> | |
4 | </div> | |
5 | </template> | |
6 | ||
7 | <script> | |
8 | export default { | |
9 | name: 'JCGit', | |
10 | data() { | |
11 | return { | |
12 | url: 'http://192.168.0.189:8442/r/Jcdm-Mes.git' | |
13 | } | |
14 | }, | |
15 | methods: { | |
16 | goto() { | |
17 | window.open(this.url) | |
18 | } | |
19 | } | |
20 | } | |
21 | </script> |