Merge pull request #572 from trheyi/main

Add FrameDSL to ViewLayoutDSL
This commit is contained in:
Max 2024-02-06 14:43:46 +08:00 committed by GitHub
commit 253bc93950
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,6 +75,13 @@ type FieldsDSL struct {
type ViewLayoutDSL struct {
Props component.PropsDSL `json:"props,omitempty"`
Sections []SectionDSL `json:"sections,omitempty"`
Frame FrameDSL `json:"frame,omitempty"`
}
// FrameDSL layout.form.frame
type FrameDSL struct {
URL string `json:"url,omitempty"`
Params map[string]string `json:"params,omitempty"`
}
// SectionDSL layout.form.sections[*]