Giter Club home page Giter Club logo

Comments (3)

yanhaijing avatar yanhaijing commented on June 12, 2024

hi 其实data.js不提倡直接传递对象

主要是因为现在传递对象的话,不会有消息通知

你上面的例子里,不会和派发time被更新的消息

在处理的时候直接传对象,都放到了''上,你说的功能我会加上去的

from data.js.

lizheming avatar lizheming commented on June 12, 2024

@yanhaijing 既然不提倡就不要加上这个功能嘛=w= 放到了''上之后我没办法取值是一个问题,另外一个问题是如果用户不明就里,多次用对象传参的话就要悲剧了吧-。-...所以还是期待改进版咯。

from data.js.

yanhaijing avatar yanhaijing commented on June 12, 2024

d.get('.time')这样是可以取到了,这个功能会解决,传对象的消息功能也会解决

from data.js.

Related Issues (8)

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.