--修改表单样式
This commit is contained in:
13
src/App.vue
13
src/App.vue
@ -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>
|
||||
|
||||
@ -457,3 +457,4 @@
|
||||
.ant-layout {
|
||||
height: 100% !important;
|
||||
}
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -70,6 +70,7 @@
|
||||
|
||||
const getUserInfo = computed(() => {
|
||||
const { name = '', avatar, desc } = userStore.getUserInfo || {};
|
||||
console.log(userStore.getUserInfo)
|
||||
return { name, avatar: avatar || headerImg, desc };
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user