const getImageUrl = (name) => {
  return new URL(`./img/${name}.svg`, import.meta.url).href
}
const iconUrl =  getImageUrl('统计');
Logo

Agent 垂直技术社区,欢迎活跃、内容共建。

更多推荐