husq
2023-10-10 e31f6a9a9fe4861b1bdb6b2a3a4cbfb6fd5523fe
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
}