From b6dcc62f9ce7e6e1328c096661d99e1c2002f852 Mon Sep 17 00:00:00 2001 From: 张代鹏 <15891557205@163.com> Date: 星期五, 21 六月 2024 12:07:19 +0800 Subject: [PATCH] refactor: 改为懒加载窗口 --- src/components/RuoYiGit/index.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/RuoYiGit/index.vue b/src/components/RuoYiGit/index.vue index 3682250..ad27808 100644 --- a/src/components/RuoYiGit/index.vue +++ b/src/components/RuoYiGit/index.vue @@ -1,13 +1,13 @@ <template> - <div> - <svg-icon icon-class="github" @click="goto" /> - </div> + <div> + <svg-icon icon-class="github" @click="goto" /> + </div> </template> <script setup> const url = ref('https://gitee.com/dromara/RuoYi-Vue-Plus'); function goto() { - window.open(url.value) + window.open(url.value); } </script> -- Gitblit v1.9.3