commit:修复工作流bug,修复builder报错

This commit is contained in:
Jerry
2024-07-24 17:43:48 +08:00
parent 51ff5033e1
commit bb01172492
77 changed files with 391 additions and 455 deletions

View File

@@ -226,7 +226,6 @@ const values = computed({
});
const onWidgetClick = (widget: ANY_OBJECT | null = null) => {
console.log('block block block onWidgetClick', widget);
emit('widgetClick', widget);
};
const onDragAdd = (e: DragEvent) => {

View File

@@ -270,7 +270,6 @@ const buildFlowParam = computed(() => {
return flowParam;
});
const tableColumnList = computed(() => {
console.log('>>> ===', props.widget.props.tableColumnList);
let tempList =
props.widget && props.widget.props && Array.isArray(props.widget.props.tableColumnList)
? props.widget.props.tableColumnList

View File

@@ -58,7 +58,6 @@ const treeDataList = computed(() => {
);
});
let temp = treeDataTranslate(tempList, 'id', 'parentId');
console.log('temp', temp);
if (props.multiple) {
return temp;
} else {
@@ -73,7 +72,6 @@ const treeDataList = computed(() => {
});
const onNodeClick = () => {
console.log('onNodeClick');
if (!props.multiple) onSelectChange();
};
const emit = defineEmits<{
@@ -89,7 +87,6 @@ const onValueChange = () => {
temp = tree.value.getCurrentKey();
}
}
console.log('onValueChange', temp);
emit('update:value', temp);
let dictData = props.multiple
? null
@@ -97,7 +94,6 @@ const onValueChange = () => {
emit('change', temp, dictData);
};
const onSelectChange = () => {
console.log('onSelectChange');
nextTick(() => {
onValueChange();
});

View File

@@ -472,25 +472,9 @@ watch(
},
);
// watch(
// () => props.widget,
// newVal => {
// if (newVal) {
// newVal.widgetImpl = getCurrentInstance();
// }
// },
// {
// deep: true,
// immediate: true,
// },
// );
watch(
() => props.widget,
() => {
// if (newVal) {
// newVal.widgetImpl = getCurrentInstance();
// }
refreshColumn();
},
{