
我需要给栅格2内的表格增加监听事件,直接这样写,提示未找到字段,需要如何配置才能监听栅格下的表格内字段的变化值
//表格配置初始化
initTable() {
delete tableOption.value.maxHeight
tableOption.value.height = 400
// 监听明细表变化
useFun.setPropConfig('quantity', {
change: (obj) => {
setTimeout(() => {
console.log('obj', obj)
useFun.change(obj.row);
}, 0);
}
});
},