rowHandle 如何在编辑时可以绑定对象的属性
Opened this issue · 2 comments
neil88 commented
:rowHandle="rowHandle"
edit-title="修改"
:edit-template="editTemplate"
比如数据对象是如下格式{"name":"james", "info":{"id":1, "address":"xxxxx"}}
在编辑的时候我想修改一栏地址
editTemplate:
{
name: {
title: '名字',
value: ''
},
address: {
title: '地址',
value: ''
}
}
发现编辑是弹出的框中address拿不到对应的值,如何实现这个需求?
sunhaoxiang commented
'info.address'
neil88 commented
'info.address'
试过无效 直接报错了
info.address: {
title: '地址',
value: ''
}