提交 | 用户 | 时间 | ||
e57a89 | 1 | <template> |
懒 | 2 | <div> |
3 | <svg-icon icon-class="question" @click="goto" /> | |
4 | </div> | |
5 | </template> | |
6 | ||
7 | <script> | |
8 | export default { | |
9 | name: 'RuoYiDoc', | |
10 | data() { | |
11 | return { | |
12 | url: 'http://doc.ruoyi.vip/ruoyi-vue' | |
13 | } | |
14 | }, | |
15 | methods: { | |
16 | goto() { | |
17 | window.open(this.url) | |
18 | } | |
19 | } | |
20 | } | |
21 | </script> |