This commit is contained in:
zoujiandong 2025-03-25 14:04:02 +08:00
parent 2caf0690fc
commit 46251fda16

View File

@ -125,14 +125,14 @@ const switchPage = (index) => {
document.body.scrollTop = 0; document.body.scrollTop = 0;
setTimeout(()=>{ setTimeout(()=>{
step.value=-1; step.value=-1;
},0) },300)
}else{ }else{
document.documentElement.scrollTop = 0; document.documentElement.scrollTop = 0;
document.body.scrollTop = 0; document.body.scrollTop = 0;
setTimeout(()=>{ setTimeout(()=>{
step.value=index; step.value=index;
},0) },300)
} }
if(index==pageList.value.length){ if(index==pageList.value.length){
//alert(caseObj.project_id); //alert(caseObj.project_id);
@ -172,7 +172,7 @@ const initPage=()=>{
setTimeout(()=>{ setTimeout(()=>{
step.value = 0; step.value = 0;
showIntro.value = false; showIntro.value = false;
},0) },300)
} }
const handleStart = () => { const handleStart = () => {
step.value = 0; step.value = 0;