This commit is contained in:
全栈小学生 2025-03-14 18:33:34 +08:00
parent d09a12489d
commit e7a5f5d316
3 changed files with 193 additions and 195 deletions

View File

@ -12,9 +12,7 @@
const props = defineProps(['record_id', 'completeLayout']); const props = defineProps(['record_id', 'completeLayout']);
const emits = defineEmits(['callback']) const emits = defineEmits(['callback'])
const loading = ref(true); const loading = ref(true);
const diyFormData: any = reactive({ const diyFormData: any = reactive({
global: {}, global: {},
value: [] value: []

View File

@ -66,7 +66,7 @@
}; };
newValue.forEach((item: any) => { newValue.forEach((item: any) => {
// //
if (item.componentType == 'diy_form' && item.componentName != 'FormSubmit') { if (item.componentType == 'diy_form' && item.componentName != 'FormSubmit' && item.field.cache) {
// //
let field = deepClone(item.field); let field = deepClone(item.field);
// //
@ -186,6 +186,7 @@
} }
} }
} }
/* #endif */ /* #endif */
} }
</style> </style>

View File

@ -112,7 +112,6 @@
<template v-if="component.componentName == 'FormFile'"> <template v-if="component.componentName == 'FormFile'">
<diy-form-file ref="diyFormFileRef" :component="component" :global="data.global" :index="index" /> <diy-form-file ref="diyFormFileRef" :component="component" :global="data.global" :index="index" />
</template> </template>
</view> </view>
</view> </view>
<template v-if="diyStore.mode == '' && data.global && data.global.bottomTabBarSwitch"> <template v-if="diyStore.mode == '' && data.global && data.global.bottomTabBarSwitch">