feat: 能耗映射
This commit is contained in:
@@ -12,7 +12,7 @@ export const formProps = {
|
||||
},
|
||||
model: PropTypes.object.def(() => reactive({})),
|
||||
loading: PropTypes.bool.def(false),
|
||||
formLayout: PropTypes.string.def('flexVertical'),
|
||||
formLayout: PropTypes.string.def('flex'),
|
||||
expand: PropTypes.bool.def(true),
|
||||
showExpand: PropTypes.bool.def(false),
|
||||
};
|
||||
|
@@ -65,9 +65,9 @@
|
||||
const getFormConfig = computed(() => {
|
||||
const formConfig = cloneDeep(props.formConfig);
|
||||
|
||||
if (formConfig) {
|
||||
formConfig['formLayout'] = 'flexv2';
|
||||
}
|
||||
// if (formConfig) {
|
||||
// formConfig['formLayout'] = 'flexv2';
|
||||
// }
|
||||
return formConfig;
|
||||
});
|
||||
const getBindValue = computed(() => ({
|
||||
|
Reference in New Issue
Block a user