Skip to content

[Feature] maxkb has used the new es12 syntax, resulting in incompatibility issues during embedding #3656

@zhainanshidai

Description

@zhainanshidai

MaxKB Version

v1.10.8-lts (build at 2025-05-22T22:32, commit: cd75cb5)

Please describe your needs or suggestions for improvements

使用了这个 String.prototype.replaceAll es12的语法,没有做好兼容,导致部分手机访问失败。

Image Image

嵌入方式:webview

华为手机(HUAWEI P20 EML-TL00,HarmonyOS 版本 3.0.0)上界面加载不出来。

在HarmonyOS 版本 4.0.0手机是正常的

华为P30,HarmonyOS 版本 4.0.0,也显示异常

需要优化下这些语法,兼容下更多设备的访问

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions