js 版修复兼容性bug