1.使用路由功能时,chrome报错Uncaught SecurityError: Failed to execute 'replaceState' on 'History'。
原因,chrome在使用本地路径打开网页时禁止了所有H5 history的API。
解决办法,通过APACHE使用ip地址访问。