guoshilong
2023-11-14 6d3a25365554f9c7c98b8a58fba7b7aa9b3f9e9f
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
}