Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue2创建port连接桩写法 #3975

Closed
nanfb opened this issue Oct 16, 2023 · 5 comments
Closed

vue2创建port连接桩写法 #3975

nanfb opened this issue Oct 16, 2023 · 5 comments

Comments

@nanfb
Copy link

nanfb commented Oct 16, 2023

问题描述

我看了很多issus,没办法解决我的问题
引入创建组件
image
image
在这里添加或者生成的时候添加,都没什么效果,会在左上角出现个没法操作的圆圈

image

重现链接

1

重现步骤

1

预期行为

生成连接桩

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox ...]
  • X6 版本: [2.11.1 ...]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@nanfb
Copy link
Author

nanfb commented Oct 16, 2023

我会了,2.x的文档缺太多东西了

@nanfb nanfb closed this as completed Oct 16, 2023
@Cai-Bring
Copy link

请问是怎么实现的

@nanfb
Copy link
Author

nanfb commented Apr 9, 2024

请问是怎么实现的

看1.x的文档,要创建连接桩首先要有组

@CoderMonkie
Copy link

直接复制粘贴文档里的代码,出不来,遇到同样问题,画了四个只出来左上角一个(应该是重叠在这了),

使用以下(极简)配置正常:

ports: {
  groups: {
    group1: {
      position: 'top',
    },
    group2: {
      position: 'right',
    },
    group3: {
      position: 'bottom',
    },
    group4: {
      position: 'left',
    },
  },
  items: [
    {
      group: 'group1',
    },
    {
      group: 'group2',
    },
    {
      group: 'group3',
    },
    {
      group: 'group4',
    },
  ],
},

@CoderMonkie
Copy link

8E4D7954-7F34-4ca2-8894-816322EBA7D8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants