修改页面显示

v1.2.0
于肖磊 2025-01-22 15:49:56 +08:00
parent 5d90734a03
commit 31b2c49296
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ const custom_edit = () => {
//
width = form.value.data_source_direction != 'vertical-scroll' ? com_width / form.value.data_source_carousel_col : com_width; //
}
emit('custom_edit', diy_data.value.id, custom_list, width, custom_height, data_source_field, form.value.is_use_parent_data);
emit('custom_edit', diy_data.value.id, custom_list, width, custom_height, data_source_field, props.configLoop !== '1' ? form.value.is_use_parent_data : '1');
};
//# endregion
//

View File

@ -168,7 +168,7 @@ const custom_edit = (type: string, id?: string, father_list?: any, list?: any, w
custom_group_field_id.value = data_source_field?.id || '';
// ,
const is_data_source_id = model_data_source.value.filter((item: any) => item.field == data_source_field?.id);
if (form.value.configLoop == '1') {
if (form.value.data_source_is_loop == '1') {
if (is_data_source_id.length > 0) {
custom_group_option_list.value = data_source_field?.option || [];
new_group_source_list.value = new_group_source_list_handle(data_source_field?.id || '');