Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

taro 瀑布流 unlimitedSize 为true下会报错 #14684

Closed
Mrzbf opened this issue Oct 22, 2023 · 0 comments · Fixed by #14740 or #14811
Closed

taro 瀑布流 unlimitedSize 为true下会报错 #14684

Mrzbf opened this issue Oct 22, 2023 · 0 comments · Fixed by #14740 or #14811
Labels
A-components-advanced Area - 高阶组件 E-easy Helper Wanted - Easy F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Milestone

Comments

@Mrzbf
Copy link

Mrzbf commented Oct 22, 2023

相关平台

微信小程序

复现仓库

git@github.com:Mrzbf/taro-issue.git
小程序基础库: 3.14
使用框架: Vue 3

复现步骤

传参必现

期望结果

运行正常

实际结果

Cannot read property 'itemCount' of undefined

环境信息

Taro CLI 3.6.17 environment info:
    System:
      OS: macOS 12.5.1
      Shell: 5.8.1 - /bin/zsh
    Binaries:
      Node: 16.14.0 - /usr/local/bin/node
      Yarn: 1.22.10 - /usr/local/bin/yarn
      npm: 9.6.7 - /usr/local/bin/npm
    npmPackages:
      @tarojs/cli: 3.6.17 => 3.6.17 
      @tarojs/components: 3.6.17 => 3.6.17 
      @tarojs/helper: 3.6.17 => 3.6.17 
      @tarojs/plugin-framework-vue3: 3.6.17 => 3.6.17 
      @tarojs/plugin-html: 3.6.17 => 3.6.17 
      @tarojs/plugin-platform-alipay: 3.6.17 => 3.6.17 
      @tarojs/plugin-platform-h5: 3.6.17 => 3.6.17 
      @tarojs/plugin-platform-jd: 3.6.17 => 3.6.17 
      @tarojs/plugin-platform-qq: 3.6.17 => 3.6.17 
      @tarojs/plugin-platform-swan: 3.6.17 => 3.6.17 
      @tarojs/plugin-platform-tt: 3.6.17 => 3.6.17 
      @tarojs/plugin-platform-weapp: 3.6.17 => 3.6.17 
      @tarojs/runtime: 3.6.17 => 3.6.17 
      @tarojs/shared: 3.6.17 => 3.6.17 
      @tarojs/taro: 3.6.17 => 3.6.17 
      @tarojs/taro-loader: 3.6.17 => 3.6.17 
      @tarojs/webpack5-runner: 3.6.17 => 3.6.17 
      babel-preset-taro: 3.6.17 => 3.6.17 
      eslint-config-taro: 3.6.17 => 3.6.17 
    npmGlobalPackages:
      typescript: 4.5.4

补充信息

应该是this.props.itemCount 换成 this.$props.itemCount即可解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-components-advanced Area - 高阶组件 E-easy Helper Wanted - Easy F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
Archived in project
2 participants