CzRger hai 2 meses
pai
achega
39e671058a

+ 2 - 1
src/views/workflow/chart/node-add.vue

@@ -10,7 +10,8 @@
         <div class="port">
           <ElTooltip
             placement="top"
-            content="123"
+            effect="light"
+            content="<div><b>点击</b>添加节点</div><div><b>拖拽</b>连接节点</div>"
             raw-content
           >
             <div/>

+ 2 - 2
src/views/workflow/chart/node-index.vue

@@ -60,8 +60,8 @@ onMounted(() => {
   }
   .node-content {
     padding: 0px 12px;
-    margin-bottom: 8px;
-    border-top: 1px solid rgba(0, 0, 0, 0.1);
+    //margin-bottom: 8px;
+    //border-top: 1px solid rgba(0, 0, 0, 0.1);
   }
 }
 </style>

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

@@ -44,6 +44,7 @@ const nodeDataCpt = computed(() => props.node?.data || {})
   z-index: 1000;
   display: flex;
   flex-direction: column;
+  border-radius: 10px 0 0 10px;
   .panel-header {
     padding: 16px;
     border-bottom: 1px solid #eee;

+ 1 - 0
src/views/workflow/instance/if-else/node/index.vue

@@ -42,6 +42,7 @@ onMounted(() => {
 
 <style lang="scss" scoped>
 .node-if-else {
+  margin: 8px 0;
   .port-item {
     word-break: break-all;
     .port-item-head {

+ 0 - 1
src/views/workflow/instance/root/node/index.vue

@@ -1,6 +1,5 @@
 <template>
   <div class="node-root">
-    <div>p1:{{state.nodeData?.p1}}</div>
   </div>
 </template>