Commit 7397fdfe by chengzhichun

跳转登录

parent 57230b29
...@@ -18,6 +18,8 @@ export function createdUserJWTApi(data) { ...@@ -18,6 +18,8 @@ export function createdUserJWTApi(data) {
indexApi.createdUserJWT().then(res => { indexApi.createdUserJWT().then(res => {
if (res.data.code == 200) { if (res.data.code == 200) {
resolve(res.data.data); resolve(res.data.data);
}else{
reject(res.data.data);
} }
}); });
}) })
......
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