优化细节

This commit is contained in:
icssoa
2025-09-01 12:13:36 +08:00
parent f6bcf5755a
commit 6d3f3909f2

View File

@@ -102,16 +102,7 @@ const icon = computed<Icon>(() => {
}
});
// Android平台特殊处理
// #ifdef APP-ANDROID
// @ts-ignore
text = new String(Character.toChars(parseInt(code, 16).toInt()));
// #endif
// 其他平台处理
// #ifndef APP-ANDROID
text = String.fromCharCode(parseInt(code, 16));
// #endif
} catch (e) {
console.error(`图标 ${props.name} 不存在`, e);
}