YaolongHan 4 years ago
parent
commit
b61ab3b9b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/api/httputils.ts

+ 1 - 1
src/api/httputils.ts

@@ -21,7 +21,7 @@ axiosservice.interceptors.request.use(
     (config) => {
         config.withCredentials = true // 允许携带token ,这个是解决跨域产生的相关问题
         config.headers = {
-            ProjectID: '1', //默认false,当预览开启的时候是true
+            projectID: '1',//项目id
         }
         return config
     },