@@ -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/>
@@ -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>
@@ -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;
@@ -42,6 +42,7 @@ onMounted(() => {
<style lang="scss" scoped>
.node-if-else {
+ margin: 8px 0;
.port-item {
word-break: break-all;
.port-item-head {
@@ -1,6 +1,5 @@
<template>
<div class="node-root">
- <div>p1:{{state.nodeData?.p1}}</div>
</div>
</template>