处理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: '联系我们',
path: '/',
}, {
title: '登录',
path: '/',
},
],
};
@ -167,6 +170,7 @@ export default {
flex: 1;
}
.logo-wrapper {
width: 460rem;
height: 76rem;
cursor: pointer;
}

View File

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