Gau Liang
Gau Liang
“则form的actions无效(渲染不出来)“,是不是表单配置了`wrapWithPanel:false`?可以隐藏掉dialog的actions,使用表单的。
配置 `wrapWithPanel:true` 后会用 panel 包裹组件,此时可以配置actions 或 footer,可参考: ```json { "type": "page", "title": "Test", "body": { "type": "button", "label": "Test", "actionType": "dialog", "dialog": { "title": "DialogTitle", "size": "lg", "body": [ {...
可以的,参考: ```json { "type": "page", "title": "Test", "body": { "type": "button", "label": "Test", "actionType": "dialog", "dialog": { "title": "DialogTitle", "size": "lg", "body": [ { "type": "form", "body": [ { "type":...
@foxfire881 通过 props 中的 store 找出表单的 formStore 后,删除即可
```json { "type": "input-sub-form", "addButtonText":"自定义新增按钮名", ... } ```
``hiddenOn
参考自定义事件,里面通过 props 访问 amis 方法 ```json { "type": "page", "body": { "label": "点击", "type": "button", "onClick": "props.onAction(event, {actionType:'drawer', drawer: {title: '弹drawer', body: 'drawer'}});props.onAction(event, {actionType:'dialog', dialog: {title: 'dialog', body: 'dialog'}})" }...
Sorry ,I just can download the Source code (zip), Can you tell me how to bulid the win32-x64-46_binding.node file? Thanks !
I got it. Thank you very much!
@saper Thank you very much! I'm sorry to reply to your message too late.