2023-12-14-dist

This commit is contained in:
X1627315083
2023-12-14 13:19:27 +08:00
parent 421f98090f
commit 2501211bea
24 changed files with 47 additions and 44 deletions

View File

@@ -151,17 +151,7 @@ const driverObj__ = driver({
},
//销毁前
onDestroyStarted:()=>{
data = {
index : driverIndex__,
driver : false,
}
store?.commit("setGuide", data);
setCookie("isBeginner", false);
driverObj__.destroy();//销毁方法
let data_ = {}
Https.axiosPost(Https.httpUrls.completeGuidancet, data_).then(
).catch(res=>{
});
setDestroy()
},
//销毁前
onDestroyed:()=>{
@@ -238,9 +228,22 @@ const openGuide = () =>{
// driverObj__.moveNext();
// driverObj__.movePrevious();
}
function setDestroy(){
data = {
index : driverIndex__,
driver : false,
}
store?.commit("setGuide", data);
setCookie("isBeginner", false);
driverObj__.destroy();//销毁方法
let data_ = {}
Https.axiosPost(Https.httpUrls.completeGuidancet, data_).then(
).catch(res=>{
});
}
export{
openGuide,
driverObj__,
driverIndex__,
setDestroy,
}