index.vue 659 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <<<<<<< HEAD
  2. <template>
  3. <div>
  4. <svg-icon icon-class="github" @click="goto" />
  5. </div>
  6. </template>
  7. <script>
  8. export default {
  9. name: 'RuoYiGit',
  10. data() {
  11. return {
  12. url: 'https://gitee.com/y_project/RuoYi-Vue'
  13. }
  14. },
  15. methods: {
  16. goto() {
  17. window.open(this.url)
  18. }
  19. }
  20. }
  21. =======
  22. <template>
  23. <div>
  24. <svg-icon icon-class="github" @click="goto" />
  25. </div>
  26. </template>
  27. <script>
  28. export default {
  29. name: 'RuoYiGit',
  30. data() {
  31. return {
  32. url: 'https://gitee.com/y_project/RuoYi-Vue'
  33. }
  34. },
  35. methods: {
  36. goto() {
  37. window.open(this.url)
  38. }
  39. }
  40. }
  41. >>>>>>> ec6eeb00ce64eb587a455406167d302dc3e59216
  42. </script>