zsfish

Results comments of zsfish

group, 可将下面这个schema复制到官网https://baidu.gitee.io/amis/docs/components/form/group,group基本用法那里看效果。 { "type": "page", "body": { "type": "form", "mode": "horizontal", "horizontal": { "left": 1, "right": 11 }, "controls": [ { "type": "group", "controls": [ { "type": "text", "name": "text1",...

是rich-text【tinyMCE】所有操作,包括下拉列表,预览弹窗等功能会被覆盖

没呢,是我表述的不清楚。是minDate未对时分秒做限制,例如我在官网可以输入2020-06-11 17:00:00,也是可以成功保存的。官网那段时间配置如下: { "type": "datetime", "name": "end", "label": "结束时间", "format": "x", "maxDate": "1591862818000", "description": "限制可选最大日期是 2020-06-11 16:06:58" }

toolbar的form配置: toolbar: [ { type: 'form', name: 'top-search', target: 'page', synclocation: false, // reload: 'page?applicationId=${applicationId}', 用reload也无用 className: 'b-l-white', controls: [ { type: 'select', label: '选择应用', submitOnChange: true, name: 'applicationId', searchable:...

picker配置 { type: 'container', className: 'text-right', md: 6, body: [ { type: 'action', icon: 'fa fa-plus pull-left', level: 'primary', className: 'm-b', actionType: 'dialog', label: '新增配置组', disabledOn: '!this.applicationId', // 这里的判断可用 },...

我自己重新调整了页面结构,发现可能是因为我的picker写了到另外一个page里,也就是我用page组件嵌套了一个page。然后内层的page的picker按钮就拿不到外层page的data。

后面查阅源码发现可以使用itemRemovableOn可以做判断