Render -> key value

This commit is contained in:
Max 2021-10-18 10:06:17 +08:00
parent 6a645a2ec0
commit 8d432409dd

View file

@ -62,5 +62,5 @@ type Page struct {
type Render struct {
Type string `json:"type,omitempty"`
Props map[string]interface{} `json:"props,omitempty"`
Components []interface{} `json:"components,omitempty"`
Components map[string]interface{} `json:"components,omitempty"`
}