# 深层次对象绑定

TIP

2.6.11+

# 普通用法

bing绑定深层次的结构对象,prop也是需要填写

<avue-crud :option="option" :data="data" ></avue-crud>

<script>
export default{
  data() {
    return {
      form:{},
      data: [{ 
        deep:{
          deep:{
            deep:{
              value:'我是深结构'
            }
          }
        }
      }],
      option: {
        labelWidth: 120,
        column: [
          {
            label: '深结构',
            prop: 'test',
            bind:'deep.deep.deep.value'
          }
        ]
      }
    }
  }
}
</script>

Expand Copy
Last Updated: 3/9/2022, 4:27:25 PM