--修改表单样式

This commit is contained in:
2026-02-27 09:46:04 +08:00
parent f7d9075c75
commit 6047e02a70
4 changed files with 16 additions and 0 deletions

View File

@ -90,4 +90,17 @@
flex: 1 !important;
background-color: #fff;
}
&.ant-form-item-explain{
min-height: 10px !important;
display: none;
.ant-form-item-explain-error{
display: none !important;
}
}
.ant-form-item{
margin-bottom: 10px !important;
}
</style>

View File

@ -457,3 +457,4 @@
.ant-layout {
height: 100% !important;
}

View File

@ -63,6 +63,7 @@
const value = ref<string>('');
const userStore = useUserStore();
const userInfo = userStore.getUserInfo;
console.log(userInfo)
const userImage = userInfo.avatar || headerImg;
const businessId = ref<string>('');
const canAdd = ref<boolean>(false);

View File

@ -70,6 +70,7 @@
const getUserInfo = computed(() => {
const { name = '', avatar, desc } = userStore.getUserInfo || {};
console.log(userStore.getUserInfo)
return { name, avatar: avatar || headerImg, desc };
});