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