Commit 1c1f9c43 authored by wangxuelai's avatar wangxuelai

'登录流程'

parent f9329669
......@@ -358,10 +358,12 @@ Page({
const { code, data } = res;
if (code == 200) {
LocalStorage.setItem("user", {
token: `bearer ${data.token}`
token: `bearer ${data.token}`,
mobile: data.business.mobile
});
LocalStorage.setItem("teacher", {
token: `bearer ${data.token}`
token: `bearer ${data.token}`,
mobile: data.business.mobile
});
getAccountList({
page: 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment