GuLiMmo
2023-11-29 2685daba5d078aae1b1d83e36f726af14969e718
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
}