部分版本uc浏览器(开发版11.1.0.870)下
history.pushState进去的数据,无法使用history.state获取到
alert(1111111111);//正常弹出
history.pushState({key: 2222222222},'','');
alert(history.state.key);//报错
尝试了其他浏览器火狐、chrome、华为自带浏览器,微信内置浏览器,都正常
uc浏览器更新11.2.0.880版本也正常
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
http://caniuse.com/#search=pu...
安卓4.2以上,ie10以上,safari6以上,firefox4以上,chrome5以上