JackpotM1103
Results
1
comments of
JackpotM1103
> 参考 https://github.com/pd4d10/vite-plugin-svgr/issues/72#issue-1609038919 的方式引入 SVG 组件后,可通过 ``,以及为 `` 后代元素 `` 设置 `fill: inherit;` 来改变颜色 ```js ``` ```css .change-color path{ fill: inherit; } ```