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

修复资源迁移导入view的时候,没设置parentId为新的问题 #2043

Merged

Conversation

KANLON
Copy link
Contributor

@KANLON KANLON commented Oct 8, 2022

我在测试资源导入的时候发现,如果view 包含目录导入的时候,view 展示不出来

看了代码发现是导入资源view的时,没重新更新 parentId 导致的,导致view虽然导入进去了,但是因为 parentId 关联不上,所以显示不出来

我这个pr,将导入view的时候,修改为先设置新的目录id,然后再设置view的相关信息,然后重新设置parentId

麻烦大佬帮忙code view 一下了

@tianlu-root tianlu-root merged commit be84a72 into running-elephant:dev Mar 31, 2023
@scottsut
Copy link
Contributor

感谢参与贡献!

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

Successfully merging this pull request may close these issues.

3 participants