|
@@ -126,18 +126,14 @@ export default {
|
|
|
watch: {
|
|
|
$route: {
|
|
|
handler: function (route) {
|
|
|
- // this.platformIds = this.$route.query.id
|
|
|
- // this.pretreatment = this.$route.query.pretreatment
|
|
|
- // this.solver = this.$route.query.solver
|
|
|
- // this.currentPage = this.solver != 0 ? 'solver' : 'pretreatment'
|
|
|
- // if (this.platformIds) {
|
|
|
-
|
|
|
- // this.getData()
|
|
|
- // }
|
|
|
+ if (route.query && route.query.type == 'reLogin') {
|
|
|
+ this.toLogin()
|
|
|
+ }
|
|
|
},
|
|
|
immediate: true,
|
|
|
},
|
|
|
},
|
|
|
+ inject: ['toLogin'],
|
|
|
created() {
|
|
|
|
|
|
},
|