Comments (5)
新版本把这个 feature 去掉了,只保留前三个参数
from yox.
刚更新了文档
from yox.
拿我早上的列子举例:
data: {
it: [{
"GysName": "A",
"Cbks": false,
"listcg": [{
"Num": 1,
"Multiple": 24,
"GID": 6800,
"Cbk": false
}, {
"Num": 10,
"Multiple": 10,
"GID": 9857,
"Cbk": true
}, {
"Num": 10,
"Multiple": 10,
"GID": 10013,
"Cbk": true
}]
}, {
"GysName": "B",
"Cbks": false,
"listcg": [{
"Num": 1,
"Multiple": 24,
"GID": 17739,
"Cbk": false
}]
}]
},
我需要设置全选和非全选 这个时候 我监听了'it.*.Cbks' 当点击外层的cbks的时候 我需要把listcg.cbk 做处理
这个时候 我拿不到index,是不是去对keypath 做处理?
from yox.
是的,自己取,框架不做这事,因为对大部分场景来说,不需要这个参数,框架做是浪费性能
from yox.
恩好的
from yox.
Related Issues (20)
- on-click问题 HOT 1
- dblclick HOT 5
- 字符串如何支持换行符<br/> HOT 3
- legacy的压缩版本不支持IE8及以下,但是未压缩版支持 HOT 2
- 请问是否可以出一个兼容ie8的工程搭建示例 HOT 5
- ie8下,当页面使用了button,yox.js(886,15)会报错“对象不支持此操作” HOT 7
- ie8下的textarea问题 HOT 5
- 文档给出的代码无法运行 HOT 1
- Object.freeze的那啥... HOT 1
- 【调查】正在使用 Yox 的用户请进 HOT 6
- 开源项目问题? HOT 5
- ie8下模板渲染失败 HOT 11
- Who to contact for security issues
- 文档缺乏客观性
- 所有演示链接都挂了。All demo link broken. HOT 1
- 关于即将做出的不兼容调整预告 HOT 1
- select选择框动态填充后,数据绑定无效 HOT 1
- ie8会提示 “缺少标识符、字符串、或数字” HOT 15
- yoxjs 与 layui upload的整合问题 HOT 9
- yoxjs 与 layui upload 怎么整合
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yox.