index.vue 314 B

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