javascript - vue单页应用阻止浏览器后退?
web app 单页应用,是用vue vue-router写的。 有些页面是需要禁止后退的,我把当前页面是否能后退写在了路由元信息meta里面,比如为allowBack。 查到资料 禁止后退的方法是 history.pushState(null, null, locati...
世界只因有你 2017-07-05 11:02:51 0 2 1720
python 字符串匹配问题
想匹配html = <div class="back fl"><a href="javascript:void(0);" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_shangyipian']);locati
ringa_lee 2017-04-18 10:32:04 0 2 324
java - Struts 2 2.1.8.1升级
Struts2 2.1.8.1升级到2.3.30 项目无法启动,搜索半天也没找到思路,求指点! Unable to load configuration. - [unknown location] {代码...} Caused by: Parent package is not defined: Master - [unknown locati...
大家讲道理 2017-04-18 09:43:36 0 0 239