This commit is contained in:
X1627315083
2023-12-11 10:24:04 +08:00
parent 1b55d36462
commit 29d0114f55
6 changed files with 63 additions and 40 deletions

View File

@@ -141,6 +141,7 @@ const driverObj__ = driver({
},
//销毁前
onDestroyStarted:()=>{
console.log(213123123);
data = {
index : driverIndex__,
driver : false,
@@ -155,13 +156,13 @@ const driverObj__ = driver({
onNextClick:(element, step, options) =>{
// if(options.state.activeIndex == 2){
// driverObj__.moveTo(4)
// }else{
// driverObj__.moveNext()
// }
}
// onNextClick:(element, step, options) =>{
// // if(options.state.activeIndex == 2){
// // driverObj__.moveTo(4)
// // }else{
// // driverObj__.moveNext()
// // }
// }
});
function addDiv(element){
element.style.posiiton = 'relative'