Giter Club home page Giter Club logo

Comments (3)

sonicsunsky avatar sonicsunsky commented on August 24, 2024

去掉_data_好像不可以,但是_data_在项目的代码里确实是找不到呀,求助

from weapp.

ChanceYu avatar ChanceYu commented on August 24, 2024

所有的_data_是在页面调用组件模板的时候传递的,例如Tab组件使用:<template is="weapp-tab" data="{{ _data_: oTab1 }}"></template>,参考页面pages/weapp/tab

from weapp.

sonicsunsky avatar sonicsunsky commented on August 24, 2024

哦哦,是在调用组件模板使用template标签的时候定义的呀,那_data_可以换成其它的标识符喽,如mydata或者__data等变量名

from weapp.

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.