123s
V2EX  ›  问与答

问一下微信数据分析那个 data 怎么用

  •  
  •   123s · May 21, 2019 · 873 views
    This topic created in 2549 days ago, the information mentioned may be changed or developed.
    若想收集由 list 变量渲染的列表中的某一项数据,则可用 list[].*表示,这里会根据当前填写的 element (只能是 class )得到的 NodeList 的第几个来决定数组下标。

    我在 computed 取的数组变量名为 xxxList 的数据

    element 那里写了.demo-list,然后 data 那里写,pid --- xxxList[].pid
    然后测试,并没有上报 id。搞不清
    1 replies    2019-07-29 14:01:21 +08:00
    123s
        1
    123s  
    OP
       Jul 29, 2019
    :dog:
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   965 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 19:59 · PVG 03:59 · LAX 12:59 · JFK 15:59
    ♥ Do have faith in what you're doing.