-
-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
这里监听的index 返回undefined #17
Comments
新版本把这个 feature 去掉了,只保留前三个参数 |
刚更新了文档 |
拿我早上的列子举例: 我需要设置全选和非全选 这个时候 我监听了'it.*.Cbks' 当点击外层的cbks的时候 我需要把listcg.cbk 做处理 |
是的,自己取,框架不做这事,因为对大部分场景来说,不需要这个参数,框架做是浪费性能 |
恩好的 |
{
watchers: {
'users.*.name': function (newValue, oldValue, keypath, index) {
console.log('第' + index + '个用户的名称变化了');
}
}
}
The text was updated successfully, but these errors were encountered: