|
@@ -164,7 +164,10 @@
|
|
|
</div>
|
|
|
<!-- 工序信息编辑模式 -->
|
|
|
<div v-else>
|
|
|
- <div v-if="currentProcess.id" style="width: 310px">
|
|
|
+ <div
|
|
|
+ v-if="currentProcess.id"
|
|
|
+ style="width: 310px; padding-right: 20px"
|
|
|
+ >
|
|
|
<avue-form
|
|
|
ref="formRef"
|
|
|
:option="formOption"
|
|
@@ -679,6 +682,9 @@ async function layoutGraph(direction) {
|
|
|
const convertToSnakeLayout = () => {
|
|
|
addHistory();
|
|
|
nodes.value = useSnakeLayoutHook(nodes.value, edges.value);
|
|
|
+ nextTick(() => {
|
|
|
+ fitView();
|
|
|
+ });
|
|
|
};
|
|
|
</script>
|
|
|
|