Callback Error @ wx-picker-view-column
发布于 6 年前 作者 tao46 4341 次浏览 来自 问答

完整报错信息:

  • webviewScriptError

  • Cannot read property 'update' of undefined;Exparser Observer Callback Error @ wx-picker-view-column#(anonymous)

  • TypeError: Cannot read property 'update' of undefined

  • at r.<anonymous> (<anonymous>:5:790)

  • at n.safeCallback (<anonymous>:1:18938)

  • at n.call (<anonymous>:1:18693)

  • at Function.o._callObservers (<anonymous>:1:27306)

  • at c (<anonymous>:1:23199)

  • at u (<anonymous>:1:24992)

  • at h (<anonymous>:1:25044)

  • at o.r.appendChild (<anonymous>:1:25369)

  • at Function.value (<anonymous>:7:11851)

  • at e.value (<anonymous>:7:11134)

客户端信息:

screenHeight
640
system
Android 4.4.4
model
OPPO R7
screenWidth
360
windowHeight
567
language
zh_CN
windowWidth
360
pixelRatio
3
version
6.5.7
platform

android

其它机型暂未捕获到同样的报错

业务代码:

<picker-view indicator-style="color: #383838;" style="height: 200px;" value="{{data.tempValue}}" bindchange="onStepPickerChange">
    <picker-view-column wx:for="{{data.data}}" wx:key="{{index}}">
        <view wx:for="{{item}}" wx:key="{{index}}" class="step-picker-item">{{item}}</view>
    </picker-view-column>
</picker-view>

1 回复

你的解决了么 我也遇到了同样的问题

回到顶部