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

Method.js编辑窗口为只读,仍需要扩展按钮,功能会存在于扩展组件中 #21

Closed
lvchaoin opened this issue Nov 3, 2019 · 2 comments

Comments

@lvchaoin
Copy link

lvchaoin commented Nov 3, 2019

场景为单表进入编辑,但是编辑内容全设置为只读。因为会引入modelBody组件来实现业务功能,此时
希望扩展按钮到弹出框,做如下代码修改可以达成,如果合理请并入。。

image

image

@cq-panda
Copy link
Owner

cq-panda commented Nov 4, 2019

希望扩展按钮到弹出框,做如下代码修改可以达成,如果合理请并入。。

感谢建议,刚在demo扩展js中增加了描述,因考虑是没有编辑与新建权限的都不需要扩展按钮操作,如果只是某些页面没有编辑与新建权限也需要添加扩展按钮,建议在onInited方法中操作 this.boxButtons.push(...)

@lvchaoin
Copy link
Author

lvchaoin commented Nov 4, 2019

多谢 !

@lvchaoin lvchaoin closed this as completed Nov 4, 2019
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