cc1c584e by ex

GPS

1 parent 6b090fc4
...@@ -56,9 +56,10 @@ angular.module('myApp') ...@@ -56,9 +56,10 @@ angular.module('myApp')
56 // alert(JSON.stringify(data)) 56 // alert(JSON.stringify(data))
57 if(data.meta.code === 401) { 57 if(data.meta.code === 401) {
58 layer.open({ 58 layer.open({
59 content:'登录token失效,请重新登录', 59 content:'请重新登录',
60 time:2 60 time:2
61 }) 61 })
62 localStorage.removeItem('ls.user')
62 return 63 return
63 } 64 }
64 if(data.data.unfinishedOrder.id) { 65 if(data.data.unfinishedOrder.id) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!