Commit 04829869 authored by 郑秀明's avatar 郑秀明

Merge commit 'a1e87df7'

parents 08b0ea51 a1e87df7
...@@ -57,7 +57,11 @@ ...@@ -57,7 +57,11 @@
method: 'GET', method: 'GET',
dataType: 'json', dataType: 'json',
success: (res) => { success: (res) => {
if(res.data.code === 0) {
this.data = res.data.data 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