Browse Source

cokkie判断是否引入

yangc 8 years ago
parent
commit
fb3608850c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      layouts/main.vue

+ 1 - 1
layouts/main.vue

@@ -45,7 +45,7 @@
             cookieObj[tmpArr[0].trim()] = tmpArr[1].trim()
             cookieObj[tmpArr[0].trim()] = tmpArr[1].trim()
           }
           }
         }
         }
-        return cookieObj.type === 'erp'
+        return cookieObj.type === 'erp' || this.$route.query.type === 'erp'
       },
       },
       title () {
       title () {
         let path = this.$route.path
         let path = this.$route.path