Commit b5bede08 authored by 赵啸非's avatar 赵啸非

Merge remote-tracking branch 'origin/master'

parents 80498b81 fdadd951
...@@ -232,6 +232,13 @@ ...@@ -232,6 +232,13 @@
@click="changePwd" @click="changePwd"
>确认</a-button >确认</a-button
> >
<div class="text-right">
<span
class="text-[#0857e8] cursor-pointer"
@click="switchover(0)"
>返回登录</span
>
</div>
</a-form-model-item> </a-form-model-item>
</a-form-model> </a-form-model>
</div> </div>
...@@ -336,7 +343,7 @@ export default { ...@@ -336,7 +343,7 @@ export default {
this.mySwiper = new Swiper(".mySwiper", { this.mySwiper = new Swiper(".mySwiper", {
effect: "cube", // 方块动画 effect: "cube", // 方块动画
speed: 1000, // 时长 speed: 1000, // 时长
// simulateTouch: false, //是否允许鼠标滑动切换 simulateTouch: false, //是否允许鼠标滑动切换
grabCursor: false, // 手形鼠标 grabCursor: false, // 手形鼠标
shortSwipes: false, shortSwipes: false,
cubeEffect: { cubeEffect: {
...@@ -446,6 +453,11 @@ export default { ...@@ -446,6 +453,11 @@ export default {
fn(menus); fn(menus);
return urls; return urls;
}, },
switchover(page = 0) {
if (this.mySwiper) {
this.mySwiper.slideTo(page);
}
},
}, },
}; };
</script> </script>
......
Markdown is supported
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