Giter Club home page Giter Club logo

Comments (6)

Gcaufy avatar Gcaufy commented on May 14, 2024 3

的确如些,因为props的机制问题导致的。暂时的解决办法就是把wx:for写入到组件内部,后面我再看能否解决这个问题。

from wepy.

xiao345 avatar xiao345 commented on May 14, 2024

什么时候处理?这种需求很常见,希望能尽快处理

from wepy.

ykx456654 avatar ykx456654 commented on May 14, 2024

props不能传数组吗?
Cannot set property Symbol(Symbol.species) of function Array() { [native code] } which has only a getter
TypeError: Cannot set property Symbol(Symbol.species) of function Array() { [native code] } which has only a getter

from wepy.

Gcaufy avatar Gcaufy commented on May 14, 2024

@ykx456654 可以传数组的。参考一下wechat-demo

from wepy.

Gcaufy avatar Gcaufy commented on May 14, 2024

在循环中使用组件的示例请参看这里: wepyjs/wepy-wechat-demo@6198df5

from wepy.

Songkeys avatar Songkeys commented on May 14, 2024

@Gcaufy
您好,看了一下示例。请问如果用<repeat>的话,必须传成 Object 类型吗?
我用 Array 类型也遇到了:

jsEnginScriptError
Cannot set property Symbol(Symbol.species) of function Array() { [native code] } which has only a getter
TypeError: Cannot set property Symbol(Symbol.species) of function Array() { [native code] } which has only a getter

但是好像不影响正常使用?

from wepy.

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.