|
|
@@ -28,7 +28,6 @@
|
|
|
layout (content) {
|
|
|
return content.store.state.option.isMobile ? 'mobile' : 'default'
|
|
|
},
|
|
|
- middleware: 'authenticated',
|
|
|
transition: {
|
|
|
name: 'fade',
|
|
|
mode: 'out-in'
|
|
|
@@ -65,13 +64,13 @@
|
|
|
this.$router.push('/')
|
|
|
}
|
|
|
} else {
|
|
|
- if (this.$route.query.step === '2') {
|
|
|
- // this.$router.push(window.loaction.href)
|
|
|
- this.step = 'new'
|
|
|
- } else if (this.$route.query.step === '3') {
|
|
|
- // this.$router.push(window.loaction.href)
|
|
|
- this.step = 'last'
|
|
|
- this.stepLast = 'last'
|
|
|
+ if (!this.logged.isLogin) {
|
|
|
+ if (this.$route.query.step === '2') {
|
|
|
+ this.step = 'new'
|
|
|
+ } else if (this.$route.query.step === '3') {
|
|
|
+ this.step = 'last'
|
|
|
+ this.stepLast = 'last'
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
},
|