-new"> 523
    width: calc(60% - 7px);
338
    .__up {
524
    .__up {
339
      height: calc(50% - 20px);
525
      height: calc(50% - 20px);
340
526
      .title {
527
        display: flex;
528
        justify-content: space-between;
529
        margin-bottom: 5px;
530
      }
341
      .tree-content {
531
      .tree-content {
342
        background: #ffffff;
532
        background: #ffffff;
343
        border: 1px solid rgba(0, 0, 0, 0.15);
533
        border: 1px solid rgba(0, 0, 0, 0.15);
371
  .__right {
561
  .__right {
372
    width: calc(40% - 8px);
562
    width: calc(40% - 8px);
373
    height: 100%;
563
    height: 100%;
374
564
    .title {
565
      display: flex;
566
      justify-content: space-between;
567
      align-items: center;
568
      margin-bottom: 5px;
569
    }
375
    .tag-list {
570
    .tag-list {
376
      background-color: #ffffff;
571
      background-color: #ffffff;
377
      border: 1px solid rgba(0, 0, 0, 0.15);
572
      border: 1px solid rgba(0, 0, 0, 0.15);

+ 7 - 1
src/views/_components/right-panel/_components/PanelNodeIO.vue

25
    <panel-data-assembly
25
    <panel-data-assembly
26
      ref="dataAssembly"
26
      ref="dataAssembly"
27
      :data-source="inputData.data"
27
      :data-source="inputData.data"
28
      :is-json-path="isJsonPath"
28
    ></panel-data-assembly>
29
    ></panel-data-assembly>
29
  </common-dialog>
30
  </common-dialog>
30
</template>
31
</template>
31
32
32
<script setup lang="ts">
33
<script setup lang="ts">
33
import { ref, watch } from 'vue';
34
import { ref, watch, computed } from 'vue';
34
import PanelDataAssembly from './PanelDataAssembly.vue';
35
import PanelDataAssembly from './PanelDataAssembly.vue';
35
36
36
const showDataAssembly = ref<any>(false);
37
const showDataAssembly = ref<any>(false);
69
    default: () => 'input'
70
    default: () => 'input'
70
  }
71
  }
71
});
72
});
73
const isJsonPath = computed(
74
  () =>
75
    ['polymerization'].includes(props.targetNode.cell.getData().id) &&
76
    props.inputType === 'function'
77
);
72
78
73
const nodePanelData = ref<any>(
79
const nodePanelData = ref<any>(
74
  props.targetNode.cell.getData()?.attrsData || null
80
  props.targetNode.cell.getData()?.attrsData || null

Sign In - Nuosi Git Service

Sign In