|
@@ -168,6 +168,7 @@ export default {
|
|
|
.then(() => {
|
|
.then(() => {
|
|
|
this.$toast.success('注册成功');
|
|
this.$toast.success('注册成功');
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
|
|
|
+ console.log(fromRoute);
|
|
|
if (!fromRoute.name) {
|
|
if (!fromRoute.name) {
|
|
|
this.$router.replace('/home');
|
|
this.$router.replace('/home');
|
|
|
} else {
|
|
} else {
|