跳转测试2
This commit is contained in:
parent
ddc22a042d
commit
d456880c91
@ -217,7 +217,7 @@ onBeforeMount(() => {
|
||||
// 页面挂载
|
||||
onMounted(() => {
|
||||
fontAdpat()
|
||||
stopBack()
|
||||
// stopBack()
|
||||
});
|
||||
|
||||
// 来自首页的事件
|
||||
@ -314,6 +314,8 @@ const fontAdpat = ()=>{
|
||||
|
||||
}
|
||||
|
||||
|
||||
// 禁止返回
|
||||
const stopBack = ()=>{
|
||||
history.pushState(null, null, document.URL);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user