|
|
@@ -39,7 +39,6 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
vueWatchRoute () {
|
|
|
- this.btnOpenSuccess(() => this.btnLinkBack())
|
|
|
this.inQuery()
|
|
|
this.inData()
|
|
|
},
|
|
|
@@ -155,10 +154,10 @@ export default {
|
|
|
},
|
|
|
btnLinkBack() {
|
|
|
clearInterval(this.codeMess.t)
|
|
|
- // let { go, replace } = this.$route.query
|
|
|
- // replace
|
|
|
- // ? location.replace(replace)
|
|
|
- // : this.$router.go(go || -1)
|
|
|
+ let { go, replace } = this.$route.query
|
|
|
+ replace
|
|
|
+ ? location.replace(replace)
|
|
|
+ : this.$router.go(go || -1)
|
|
|
}
|
|
|
}
|
|
|
}
|