guoshilong
2023-10-18 7e0aec2ee530a4cee812df3d48ad92be8a533453
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
}