|
@@ -57,7 +57,7 @@ const hasInstance = () => !isUnmounted && !!instance && !!instance.lf;
|
|
|
let oldValue: FlowRequestData;
|
|
let oldValue: FlowRequestData;
|
|
|
const maxPanelHeight = ref(0);
|
|
const maxPanelHeight = ref(0);
|
|
|
const init = (lf: LogicFlowInstance): void => {
|
|
const init = (lf: LogicFlowInstance): void => {
|
|
|
- maxPanelHeight.value = lf.container.getBoundingClientRect().height - 80;
|
|
|
|
|
|
|
+ setTimeout(() => { maxPanelHeight.value = lf.container.getBoundingClientRect().height - 80; }, 100);
|
|
|
instance = VLogicFlowInit(lf, {
|
|
instance = VLogicFlowInit(lf, {
|
|
|
register: [{ category: 'node', type: 'FlowNode', view: FlowNodeView, model: FlowNodeViewModel }],
|
|
register: [{ category: 'node', type: 'FlowNode', view: FlowNodeView, model: FlowNodeViewModel }],
|
|
|
});
|
|
});
|