Commit 7d7f0699 authored by “yiyousong”'s avatar “yiyousong”

pref:修改登录页样式

parent 7867872e
...@@ -409,7 +409,7 @@ export default { ...@@ -409,7 +409,7 @@ export default {
type: "image/jpeg", type: "image/jpeg",
}); });
const formData = new FormData(); const formData = new FormData();
formData.append("file", blob, Date.now() + ".jpg"); formData.append("file", blob, Date.now() + ".png");
let res = await uploadFile(formData); let res = await uploadFile(formData);
let { code } = res.data; let { code } = res.data;
if (code === 1) { if (code === 1) {
......
...@@ -125,7 +125,7 @@ export default { ...@@ -125,7 +125,7 @@ export default {
margin-bottom: 5px; margin-bottom: 5px;
margin-top: 8px; margin-top: 8px;
} }
:deep(.ant-col-offset-4) { /deep/.ant-col-offset-4 {
width: 100%; width: 100%;
margin: auto; margin: auto;
} }
...@@ -133,7 +133,7 @@ export default { ...@@ -133,7 +133,7 @@ export default {
// .backstage { // .backstage {
// margin-right: 30px; // margin-right: 30px;
// } // }
:deep(.ant-form-item-control) { /deep/.ant-form-item-control {
width: 420px !important; width: 420px !important;
margin: auto; margin: auto;
......
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