mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2025-12-13 19:22:48 +00:00
up
This commit is contained in:
parent
d09a12489d
commit
e7a5f5d316
@ -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: []
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
@ -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">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user