处理logo被压缩问题

This commit is contained in:
wangchengming 2024-10-23 19:30:35 +08:00
parent c3decf2230
commit 88e7197471
2 changed files with 8 additions and 4 deletions

View File

@ -120,6 +120,9 @@ export default {
{ {
title: '联系我们', title: '联系我们',
path: '/', path: '/',
}, {
title: '登录',
path: '/',
}, },
], ],
}; };
@ -167,6 +170,7 @@ export default {
flex: 1; flex: 1;
} }
.logo-wrapper { .logo-wrapper {
width: 460rem;
height: 76rem; height: 76rem;
cursor: pointer; cursor: pointer;
} }

View File

@ -20,10 +20,10 @@ request.interceptors.response.use(
// 未设置状态码则默认成功状态 // 未设置状态码则默认成功状态
const code = res.data.code || 200; const code = res.data.code || 200;
switch (code) { switch (code) {
case 200: case 200:
return res.data; return res.data;
default: default:
return Promise.reject(res); return Promise.reject(res);
} }
}, },
(error) => { (error) => {