Commit 6076dcf2 authored by elplauto's avatar elplauto
Browse files

no back

parent 4830c1cb
...@@ -83,6 +83,18 @@ const i18n = new VueI18n({ ...@@ -83,6 +83,18 @@ const i18n = new VueI18n({
messages messages
}) })
function noBack(){
window.history.forward()
}
noBack();
window.onload=noBack;
window.onpageshow=function(evt){
if(evt.persisted) {
noBack()
}
}
window.onunload=function(){void(0)}
new Vue({ new Vue({
el: '#app', el: '#app',
i18n, i18n,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment