From 53bcb7e5dffa071d2c6593f5db7f0b6e4e2f8dfe Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Wed, 18 Oct 2023 16:17:02 +0800
Subject: [PATCH] 隐藏重复定时和连续执行

---
 src/utils/common.ts |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/utils/common.ts b/src/utils/common.ts
index 26fd977..891e618 100644
--- a/src/utils/common.ts
+++ b/src/utils/common.ts
@@ -10,3 +10,7 @@
   lable.click()
   URL.revokeObjectURL(lable.href)
 }
+
+export const requireImg = (imgPath: string) => {
+  return new URL(`../assets/${imgPath}`, import.meta.url).href
+}

--
Gitblit v1.9.3