feat: 能耗映射

This commit is contained in:
xuziqiang
2024-05-31 09:54:39 +08:00
parent 65230bf066
commit 31479608c0
9 changed files with 545 additions and 8 deletions

View File

@@ -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),
};

View File

@@ -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(() => ({