我将嵌入 HTML 的 svg 更改为由 Webpack 提供的文件位置。
<svg class="rsvg largeTileBlock__itemDataIconSvg inlineBlock relative">
<use xlink:href="http://localhost:9001/dist/img/app/icons.svg#rsvg__arrows--trendDown"
href="http://localhost:9001/dist/img/app/icons.svg#rsvg__arrows--trendDown"
/>
</svg>
这适用于 Nginx 页面。但这在我的 Tomcat 页面中不起作用,我正在努力。
有什么问题?(向上箭头应该加载到第二张图片的圆圈中)