history.pushState(null, null, document.URL),
window.addEventListener("popstate", (function() {
//retainModel(); 展示内容
//clickCount 触发条件
clickCount++,
clickCount < 3 ? history.pushState(null, null, document.URL) : history.back()
}
));
网友评论