2fb05c20 by 任超

feat:新增打包分支

1 parent 0ae1f4cc
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3
4 <head>
4 <meta charset="utf-8"> 5 <meta charset="utf-8">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 6 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6 <meta name="renderer" content="webkit"> 7 <meta name="renderer" content="webkit">
7 <meta name="referrer" content="no-referrer" /> 8 <meta name="referrer" content="no-referrer" />
8 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> 9 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
9 <link rel="icon" href="<%= BASE_URL %>favicon.ico"> 10 <link rel="icon" href="<%= BASE_URL %>favicon.ico">
10 <title><%= webpackConfig.name %></title> 11 <title>
11 </head> 12 <%= webpackConfig.name %>
12 <body> 13 </title>
14 </head>
15
16 <body>
13 <div id="app"></div> 17 <div id="app"></div>
14 <!-- built files will be auto injected --> 18 <!-- built files will be auto injected -->
15 </body> 19 </body>
20
16 </html> 21 </html>
17 <script> 22 <script>
18 window.baseUrl = location.origin || location.protocol +'//'+location.host 23 window.baseUrl = location.origin || location.protocol + '//' + location.host
19 // window.authorization = 'bearer AT-14-h4UlUGjPvgmrIgnDO-3QgMP0m4YJGQTR'; 24 // window.authorization = 'bearer AT-14-h4UlUGjPvgmrIgnDO-3QgMP0m4YJGQTR';
20 // window.authorization = 'bearer AT-223-c-Q86EHx75m7ig3EDf-SwMWl4U0AKn0b'; 25 // window.authorization = 'bearer AT-223-c-Q86EHx75m7ig3EDf-SwMWl4U0AKn0b';
21 window.timeout=5000 26 window.timeout = 5000
22 window.authorization="bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6" 27 window.authorization = "bearer AT-6-KSOqiWx3hbGL2fsRjyQQUDzPXR8rat-U"
23 </script> 28 </script>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -11,7 +11,7 @@ const service = axios.create({ ...@@ -11,7 +11,7 @@ const service = axios.create({
11 withCredentials: true, //是否允许跨域 11 withCredentials: true, //是否允许跨域
12 headers: { 12 headers: {
13 'Content-Type': 'application/json; charset=utf-8', 13 'Content-Type': 'application/json; charset=utf-8',
14 'Authorization': 'bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6' 14 'Authorization': 'bearer AT-6-KSOqiWx3hbGL2fsRjyQQUDzPXR8rat-U'
15 }, 15 },
16 timeout: 15000 16 timeout: 15000
17 }) 17 })
...@@ -20,7 +20,7 @@ const service = axios.create({ ...@@ -20,7 +20,7 @@ const service = axios.create({
20 service.interceptors.request.use( 20 service.interceptors.request.use(
21 config => { 21 config => {
22 config.headers.Authorization = 22 config.headers.Authorization =
23 'bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6' 23 'bearer AT-6-KSOqiWx3hbGL2fsRjyQQUDzPXR8rat-U'
24 config.headers.Accept = 'application/json' 24 config.headers.Accept = 'application/json'
25 return config 25 return config
26 }, 26 },
......