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

功能反馈bug:复制以替换功能,出现替换了非想要的实例id #374

Open
denrich opened this issue May 31, 2023 · 1 comment

Comments

@denrich
Copy link

denrich commented May 31, 2023

第一种情况:临时同名的组件,插入实例并复制实例粘贴替换,粘贴的结果关联的是最新的同名组件
屏幕录制2023-05-31 19 13 50

第二种情况:子组件出现同名组件,插入父组件复制实例并粘贴替换,父组件意外自动拷贝了一份到控件的页面,关联的是拷贝的同名父组件,并非原组件
屏幕录制2023-05-31 19 30 39

@denrich
Copy link
Author

denrich commented May 31, 2023

这种情况主要出现在跨文件拷贝页面出现的,a文件和b文件同时存在同名组件的情况,然后拷贝进去如果检测是相同id的组件会合并 不同的id即使是同名同样式也会创建一个原跨文件的组件,一般是这种情况感知不到,发现问题的时候就只能一个个手动排查合并同名组件了

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

1 participant