CzRger 5 天之前
父節點
當前提交
dc3431a3aa
共有 1 個文件被更改,包括 11 次插入1 次删除
  1. 11 1
      src/views/workflow/chart/panel-index.vue

+ 11 - 1
src/views/workflow/chart/panel-index.vue

@@ -8,7 +8,17 @@
         <template v-if="nodeSources[nodeDataCpt.type]?.icon">
           <img class="mr-2 size-6" :src="nodeSources[nodeDataCpt.type].icon" />
         </template>
-        <div class="">{{ state.nodeData.title }}</div>
+        <div class="">
+          <CzrFormColumn
+            :span="24"
+            label-width="0px"
+            v-model:param="state.nodeData.title"
+            :transparent="true"
+            :must="true"
+            :max-length="20"
+            :clearable="false"
+          />
+        </div>
         <div
           class="__hover ml-auto text-xl"
           @click="WorkflowStore.nodePanelClose()"