Commit a1e87df7 authored by 王建威's avatar 王建威

未登录跳转首页

parent 0a251a21
......@@ -57,7 +57,11 @@
method: 'GET',
dataType: 'json',
success: (res) => {
this.data = res.data.data
if(res.data.code === 0) {
this.data = res.data.data
} else {
this.$jump('/pages/home/home', 2);
}
}
})
},
......
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