mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2025-12-13 11:12:49 +00:00
up
This commit is contained in:
parent
d09a12489d
commit
e7a5f5d316
@ -12,9 +12,7 @@
|
||||
|
||||
const props = defineProps(['record_id', 'completeLayout']);
|
||||
const emits = defineEmits(['callback'])
|
||||
|
||||
const loading = ref(true);
|
||||
|
||||
const diyFormData: any = reactive({
|
||||
global: {},
|
||||
value: []
|
||||
|
||||
@ -66,7 +66,7 @@
|
||||
};
|
||||
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);
|
||||
// 移除不需要存储的数据
|
||||
@ -186,6 +186,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* #endif */
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -112,7 +112,6 @@
|
||||
<template v-if="component.componentName == 'FormFile'">
|
||||
<diy-form-file ref="diyFormFileRef" :component="component" :global="data.global" :index="index" />
|
||||
</template>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<template v-if="diyStore.mode == '' && data.global && data.global.bottomTabBarSwitch">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user