mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-17 10:36:31 +08:00
commit:修复工作流bug,修复builder报错
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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();
|
||||
});
|
||||
|
||||
@@ -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();
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user