|
@@ -130,10 +130,10 @@ export default {
|
|
|
this.type = "宵夜"
|
|
|
this.time = "19:00 - 24:00"
|
|
|
}
|
|
|
- if(localStorage.getItem("tokenERP")){
|
|
|
-
|
|
|
- }else if(this.$route.query.token){
|
|
|
+ if(this.$route.query.token){
|
|
|
this.getToken()
|
|
|
+ }else if(localStorage.getItem("tokenERP")){
|
|
|
+
|
|
|
}else{
|
|
|
Toast("没有获取token信息")
|
|
|
}
|