|
@@ -97,6 +97,7 @@ const actions = {
|
|
.then((response) => {
|
|
.then((response) => {
|
|
const { code, data } = response;
|
|
const { code, data } = response;
|
|
if (code === 0) {
|
|
if (code === 0) {
|
|
|
|
+ alert(JSON.stringify(data))
|
|
const { token, userinfo } = data;
|
|
const { token, userinfo } = data;
|
|
const { id } = userinfo;
|
|
const { id } = userinfo;
|
|
commit("SET_TOKEN", token);
|
|
commit("SET_TOKEN", token);
|