This commit is contained in:
icssoa
2025-09-22 10:56:56 +08:00
parent a2e9828052
commit b25b95a8f0
3 changed files with 3 additions and 9 deletions

View File

@@ -166,11 +166,7 @@ function reload() {
*/
function onInit(e: UniNativeViewInitEvent) {
svgRenderer = new CoolSvg(e.detail.element);
// 立即加载 SVG 内容
if (svgRenderer != null) {
reload();
}
reload();
}
/**