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

是否有计划 组件显示/隐藏功能 #516

Closed
joey127yao opened this issue Jun 9, 2023 · 3 comments
Closed

是否有计划 组件显示/隐藏功能 #516

joey127yao opened this issue Jun 9, 2023 · 3 comments

Comments

@joey127yao
Copy link

想要让组件有类似PS的图层显隐的效果, 点击显示或者 隐藏。
#368 这个Issue有提及,但是好像没看到相关的 显影功能代码,想问问是否有在计划内?

@jia000
Copy link
Collaborator

jia000 commented Jun 9, 2023

具体实现是希望:隐藏后在发布的页面里也隐藏还是仅在编辑器里隐藏?

@jia000
Copy link
Collaborator

jia000 commented Jun 9, 2023

一直都想加,就是纠结不同的业务可能对这个隐藏的理解不一样,类似是希望v-show还是v-if

@joey127yao
Copy link
Author

希望的效果是 两者都隐藏,
在点击对应图层的隐藏按钮, 在编辑器的 展示层 、预览效果、以及对应的发布页面都是隐藏效果,同时有个图层状态变量展示对应变更
image

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

2 participants