This commit is contained in:
Jam committed 2023-03-09 22:24:02 +08:00
1 parent ecc057d869
commit 1232d10528
8 files changed
+706 -59

No files matched your search

+7 -1
View File
@@ -16,7 +16,7 @@
<span style="transform: translateY(2px); display: inline-block; ">{{editType == 'node' ? '节点' : '连线'}}属性</span>
</div>
<div class="flow-edit-content">
<edit-node ref="nodeForm" v-if="editType == 'node'" :lf="logicFlow" :user="user" :group="group" :mode="mode"></edit-node>
<edit-node ref="nodeForm" v-if="editType == 'node'" :lf="logicFlow" :user="user" :group="group" :mode="mode" :tpl="tpl"></edit-node>
<edit-line ref="lineForm" v-if="editType == 'line'" :lf="logicFlow" :mode="mode"></edit-line>
</div>
</template>
@@ -72,6 +72,12 @@ Vue.component("process-flow", {
return []
}
},
tpl: {
type: Array,
default: () => {
return []
}
},
currentNodeId: {
type: String,
default: ''