|
|
@@ -28,7 +28,6 @@
|
|
|
layout (content) {
|
|
|
return content.store.state.option.isMobile ? 'mobile' : 'default'
|
|
|
},
|
|
|
- middleware: 'authenticated',
|
|
|
transition: {
|
|
|
name: 'fade',
|
|
|
mode: 'out-in'
|
|
|
@@ -58,25 +57,25 @@
|
|
|
StepAppeal
|
|
|
},
|
|
|
mounted () {
|
|
|
- if (!this.$route.query.token) {
|
|
|
- if (this.logged.isLogin) {
|
|
|
- this.step = 'select'
|
|
|
- } else {
|
|
|
- this.$router.push('/')
|
|
|
- }
|
|
|
- } else {
|
|
|
+ if (this.$route.query.token) {
|
|
|
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)
|
|
|
+ }
|
|
|
+ if (this.$route.query.step === '3') {
|
|
|
this.step = 'last'
|
|
|
this.stepLast = 'last'
|
|
|
}
|
|
|
+ } else {
|
|
|
+ if (this.logged.isLogin) {
|
|
|
+ this.step = 'select'
|
|
|
+ } else {
|
|
|
+ this.$router.push('/')
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
logged () {
|
|
|
+ console.log('12', this.$store.state.option.isLogin.data.content)
|
|
|
return this.$store.state.option.isLogin.data.content
|
|
|
},
|
|
|
isMobile () {
|