提交 e3ab1916 authored 作者: lihuihui's avatar lihuihui

update

上级 d8a183f3
...@@ -161,6 +161,11 @@ export default { ...@@ -161,6 +161,11 @@ export default {
}) })
action.Login.register(this.form.register).then((res) => { action.Login.register(this.form.register).then((res) => {
Toast.clear() Toast.clear()
if (res.code === 0) {
this.$router.push({
path: '/index'
})
}
Toast(res.msg) Toast(res.msg)
}) })
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论