登录成功增加提示

This commit is contained in:
TOP糯米 2023-03-19 13:27:49 +08:00
parent a01d2aebeb
commit 6fa9b0a895
1 changed files with 24 additions and 22 deletions

View File

@ -185,6 +185,7 @@ export default {
}) })
.then((response) => { .then((response) => {
this.$store.dispatch("user/info"); this.$store.dispatch("user/info");
this.$utils.toast(response.msg).then(() => {
this.$utils.toPage( this.$utils.toPage(
"", "",
{ {
@ -210,6 +211,7 @@ export default {
}, },
"back" "back"
); );
});
}) })
.catch((e) => { .catch((e) => {
this.$utils.toast(e); this.$utils.toast(e);