|
@@ -177,8 +177,13 @@ export default {
|
|
|
return this.$message.error(res.msg)
|
|
|
}
|
|
|
}).catch(() => {})
|
|
|
-
|
|
|
- this.$router.replace({ name: 'home' })
|
|
|
+ if(localStorage.getItem('pathCopyshow') && localStorage.getItem('pathCopy')) {
|
|
|
+ this.$router.push(localStorage.getItem('pathCopy'))
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ this.$router.replace({ name: 'home' })
|
|
|
+ }
|
|
|
+ // this.$router.replace({ name: 'home' })
|
|
|
}).catch(() => {})
|
|
|
})
|
|
|
}, 1000, { 'leading': true, 'trailing': false })
|