js replaceALL 部分机型不生效替代
2023-07-02 本文已影响0人
litielongxx
客户端h5中,部分点击链接无反应,后续是replaceAll特定机型如webview中不支持。
可以下列替换。
replaceALL 替换为 .replace(/替换文本/,'要替换的内容')
客户端h5中,部分点击链接无反应,后续是replaceAll特定机型如webview中不支持。
可以下列替换。
replaceALL 替换为 .replace(/替换文本/,'要替换的内容')