Grid组件下使用动态组件混合固定组件添加GridItem时,白屏并报错:TypeError: Cannot read property 'columnNum' of undefined #657
Closed
1 of 7 tasks
Labels
bug
Something isn't working
这个 Issue 涉及以下平台:
BUG 描述
Grid组件下使用动态组件混合固定组件添加GridItem时,白屏并报错:TypeError: Cannot read property 'columnNum' of undefined
复现步骤
以vantui/packages/vantui/src/grid/demo/demo3.tsx为例,只需要修改为
即可重现
期望结果
混合动态添加和固定GridItem时表现正常
实际结果
白屏并报错:TypeError: Cannot read property 'columnNum' of undefined
截图
环境
"@antmjs/vantui": "^3.4.3",
"@babel/runtime": "^7.24.7",
"@tarojs/components": "^3.6.32",
"@tarojs/helper": "^3.6.32",
"@tarojs/plugin-framework-react": "^3.6.32",
"@tarojs/plugin-html": "^3.6.32",
"@tarojs/plugin-http": "^3.6.32",
"@tarojs/plugin-platform-weapp": "^3.6.32",
"@tarojs/react": "^3.6.32",
"@tarojs/runtime": "^3.6.32",
"@tarojs/shared": "^3.6.32",
"@tarojs/taro": "^3.6.32",
附加信息
无
The text was updated successfully, but these errors were encountered: