This commit is contained in:
熊成强 2020-11-09 09:25:11 +08:00
parent 7c586cb6fd
commit 0e4c30f0c1
2 changed files with 4 additions and 1 deletions

View File

@ -56,6 +56,7 @@ export default {
}, },
beforeMount () {}, beforeMount () {},
mounted () { mounted () {
console.log('userInfo: ', this.userInfo)
}, },
methods: { methods: {
handleToRouter (item) { handleToRouter (item) {

View File

@ -33,7 +33,9 @@ export default {
console.log('this.isPopup: ', this.isPopup) console.log('this.isPopup: ', this.isPopup)
if (this.isPopup) return this.open() if (this.isPopup) return this.open()
history.go(-1) history.go(-1)
// this.$router.go(-1) console.log('history: ', history)
console.log('this.$router: ', this.$router)
this.$router.go(-1)
}, },
open () { open () {
const obj = { const obj = {