123s
V2EX  ›  问与答

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

  •  
  •   123s · May 21, 2019 · 907 views
    This topic created in 2573 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   ·   2882 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 05:01 · PVG 13:01 · LAX 22:01 · JFK 01:01
    ♥ Do have faith in what you're doing.