Commit 42dcffcf authored by wuhao's avatar wuhao 🎯

wer45

parent c1f668b0
...@@ -36,4 +36,47 @@ html, ...@@ -36,4 +36,47 @@ html,
background-clip: text; background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
} }
.fixder{
position: fixed;
width: 400px;
right: 380px;
top:90px;
background-image: linear-gradient(
0deg,
rgba(52, 131, 242,0.6) 0%,
rgba(52, 131, 242,0.1) 100%
);
z-index: 999999;
border-radius: 8px;
padding: 12px;
}
.spread{
display: flex;
justify-content: space-between;
align-items: center;
color:#ffffff;
border-bottom: rgba(216, 216, 216,0.4) solid 2px;
padding-bottom: 12px;
margin-bottom: 12px;
}
.spreaditem{
display: flex;
justify-content: space-between;
align-items: center;
color:rgba(255, 255, 255,0.6);
}
.status{
position: fixed;
width: 209px;
left: 380px;
top:90px;
background-image: linear-gradient(
0deg,
rgba(52, 131, 242,0.6) 0%,
rgba(52, 131, 242,0.1) 100%
);
z-index: 999999;
border-radius: 8px;
padding: 12px;
color: #ffffff;
}
\ No newline at end of file
...@@ -62,17 +62,15 @@ const request = extend({ ...@@ -62,17 +62,15 @@ const request = extend({
// request拦截器, 改变url 或 options. // request拦截器, 改变url 或 options.
request.interceptors.request.use(async (url, options) => { request.interceptors.request.use(async (url, options) => {
let token = let token =
localStorage.getItem("TOKEN_MES") ?? "9410b3f7de5d63f2be42d80ec8241d2d"; localStorage.getItem("TOKEN_MES") ?? "";
if (token) { if (token) {
const headers = const headers =
options.type == "form" options.type == "form"
? { ? {
token: token,
} }
: { : {
"Content-Type": "application/json", "Content-Type": "application/json",
Accept: "application/json", Accept: "application/json",
token: token,
}; };
return { return {
url: url, url: url,
......
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