|
@@ -57,25 +57,25 @@
|
|
|
StepAppeal
|
|
StepAppeal
|
|
|
},
|
|
},
|
|
|
mounted () {
|
|
mounted () {
|
|
|
- if (!this.$route.query.token) {
|
|
|
|
|
|
|
+ if (this.$route.query.token) {
|
|
|
|
|
+ if (this.$route.query.step === '2') {
|
|
|
|
|
+ this.step = 'new'
|
|
|
|
|
+ }
|
|
|
|
|
+ if (this.$route.query.step === '3') {
|
|
|
|
|
+ this.step = 'last'
|
|
|
|
|
+ this.stepLast = 'last'
|
|
|
|
|
+ }
|
|
|
|
|
+ } else {
|
|
|
if (this.logged.isLogin) {
|
|
if (this.logged.isLogin) {
|
|
|
this.step = 'select'
|
|
this.step = 'select'
|
|
|
} else {
|
|
} else {
|
|
|
this.$router.push('/')
|
|
this.$router.push('/')
|
|
|
}
|
|
}
|
|
|
- } else {
|
|
|
|
|
- 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'
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
logged () {
|
|
logged () {
|
|
|
|
|
+ console.log('12', this.$store.state.option.isLogin.data.content)
|
|
|
return this.$store.state.option.isLogin.data.content
|
|
return this.$store.state.option.isLogin.data.content
|
|
|
},
|
|
},
|
|
|
isMobile () {
|
|
isMobile () {
|