From f792bf6cc76410ac7ac67eaf473d52aa0a0a3598 Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Mon, 24 Jun 2024 00:09:11 +0800 Subject: [PATCH] =?UTF-8?q?feat(theme):=20=E6=96=B0=E5=A2=9E=20`useLink`?= =?UTF-8?q?=20=E7=BB=84=E5=90=88=E5=BC=8F=20API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- theme/src/client/components/VPButton.vue | 19 +++---------- theme/src/client/components/VPLink.vue | 19 ++++--------- theme/src/client/composables/index.ts | 1 + theme/src/client/composables/link.ts | 36 ++++++++++++++++++++++++ 4 files changed, 46 insertions(+), 29 deletions(-) create mode 100644 theme/src/client/composables/link.ts diff --git a/theme/src/client/components/VPButton.vue b/theme/src/client/components/VPButton.vue index 545829fb..34d89d98 100644 --- a/theme/src/client/components/VPButton.vue +++ b/theme/src/client/components/VPButton.vue @@ -1,7 +1,7 @@