Coder Social home page Coder Social logo

Comments (5)

musicode avatar musicode commented on August 20, 2024

新版本把这个 feature 去掉了,只保留前三个参数

from yox.

musicode avatar musicode commented on August 20, 2024

刚更新了文档

from yox.

alexljk avatar alexljk commented on August 20, 2024

拿我早上的列子举例:
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.

musicode avatar musicode commented on August 20, 2024

是的,自己取,框架不做这事,因为对大部分场景来说,不需要这个参数,框架做是浪费性能

from yox.

alexljk avatar alexljk commented on August 20, 2024

恩好的

from yox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.