Commit 5c964e15 by Caiyijun

小修改

parent 62d03f4b
...@@ -18,7 +18,7 @@ export function fetch(options) { ...@@ -18,7 +18,7 @@ export function fetch(options) {
//所有的请求都会带上这些配置,比如全局都要用的身份信息等。 //所有的请求都会带上这些配置,比如全局都要用的身份信息等。
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
'Authorization': process.env.NODE_ENV === 'production' ? (window['userData'] ? window['userData'].token : '') : "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAiLCJvcGVuX2lkIjoiMTExMTExMTExMTExMTExMTExMTExMTExMTExMSIsInVuaW9uX2lkIjoiMTExMTExMTExMTExMTExMTExMTExMTExMTExMSIsImV4cCI6MTU1NDg4OTkzN30.Wrb10H0dVKPr4RzVfuzxrHzM_MTad4So4nzvC0qRuGo" 'Authorization': process.env.NODE_ENV === 'production' ? (window['userData'] ? window['userData'].token : '') : "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAiLCJvcGVuX2lkIjoiMTExMTExMTExMTExMTExMTExMTExMTExMTExMSIsInVuaW9uX2lkIjoiMTExMTExMTExMTExMTExMTExMTExMTExMTExMSIsImV4cCI6MTU1NDkwMzIwOX0.vp0jBmcncqDzk0TwPt4-_XL5JdPXvTxNQ-u_ps7-7Do"
// 'token_in_header': global_.token,//token从全局变量那里传过来 // 'token_in_header': global_.token,//token从全局变量那里传过来
}, },
timeout: 30 * 1000 // 30秒超时 timeout: 30 * 1000 // 30秒超时
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</div> </div>
<div class="other-info-container"> <div class="other-info-container">
<div class="other-info-item"> <div class="other-info-item">
<div class="title">参赛</div> <div class="title">参赛</div>
<div class="content">{{recordTotal.total}}</div> <div class="content">{{recordTotal.total}}</div>
</div> </div>
<div class="other-info-item"> <div class="other-info-item">
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div class="content">{{recordTotal.rach_rate}}%</div> <div class="content">{{recordTotal.rach_rate}}%</div>
</div> </div>
<div class="other-info-item"> <div class="other-info-item">
<div class="title">达标</div> <div class="title">达标</div>
<div class="content">{{recordTotal.daka_count}}</div> <div class="content">{{recordTotal.daka_count}}</div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment