From 9e765ee8e2852409a1a98a6fb548b2d9d4111713 Mon Sep 17 00:00:00 2001
From: husq <931347610@qq.com>
Date: Thu, 19 Oct 2023 17:25:34 +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