diff --git a/src/steps/demos/enUS/vertical.demo.md b/src/steps/demos/enUS/vertical.demo.md index 888ee5c40..d9825cefb 100644 --- a/src/steps/demos/enUS/vertical.demo.md +++ b/src/steps/demos/enUS/vertical.demo.md @@ -65,12 +65,12 @@ export default { methods: { next () { if (this.current === null) this.current = 1 - else if (this.current >= 4) this.current = null + else if (this.current >= 5) this.current = null else this.current++ }, prev () { if (this.current === 0) this.current = null - else if (this.current === null) this.current = 4 + else if (this.current === null) this.current = 5 else this.current-- } } diff --git a/src/steps/demos/zhCN/vertical.demo.md b/src/steps/demos/zhCN/vertical.demo.md index b52d3d102..dcc9e5705 100644 --- a/src/steps/demos/zhCN/vertical.demo.md +++ b/src/steps/demos/zhCN/vertical.demo.md @@ -65,12 +65,12 @@ export default { methods: { next () { if (this.current === null) this.current = 1 - else if (this.current >= 4) this.current = null + else if (this.current >= 5) this.current = null else this.current++ }, prev () { if (this.current === 0) this.current = null - else if (this.current === null) this.current = 4 + else if (this.current === null) this.current = 5 else this.current-- } }