Repeat node value in YAML

后端 未结 2 913
北恋
北恋 2021-01-18 06:34
pagination:
    limit:
        default: 10
        min: 0
        max: 50
        current: default

The current node should have the sa

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-18 07:10

    You can also refer to any previous property value with ${property.name}:

    pagination:
        limit:
            default: 10
            min: 0
            max: 50
            current: ${pagination.limit.default}
    

提交回复
热议问题