Open qq1037305420 opened 3 weeks ago
H5
https://github.com/jdf2e/nutui.git 浏览器版本: Microsoft Edge 版本 130.0.2849.56 (正式版本) (64 位) 使用框架: Vue 3
https://github.com/jdf2e/nutui/issues/3222 // playground https://nutui.jd.com/playground/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cCBsYW5nPVwidHNcIj5cbmltcG9ydCB7IHNob3dUb2FzdCB9IGZyb20gJ0BudXR1aS9udXR1aSdcbmltcG9ydCB7IERvbmdkb25nIH0gZnJvbSAnQG51dHVpL2ljb25zLXZ1ZSdcbmNvbnN0IHNob3cgPSAoKSA9PiB7XG4gIHNob3dUb2FzdC50ZXh0KCdIZWxsbywgTnV0VUkhJylcbn07XG48L3NjcmlwdD5cbjx0ZW1wbGF0ZT5cbiAgPG51dC10YWJiYXIgYm90dG9tIHBsYWNlaG9sZGVyPlxuICAgICAgPERvbmdkb25nIC8 XG4gIDwvbnV0LXRhYmJhcj5cbjwvdGVtcGxhdGU In0=
view组件被编译为 taro-view-core 而不是 view 组件
view 为行内元素 taro-view-core 为正确元素
👽 Taro v4.0.7 Taro CLI 4.0.7 environment info: System: OS: Windows 10 10.0.19045 Binaries: Node: 20.12.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.21 - C:\Program Files\nodejs\yarn.CMD npm: 7.9.0 - C:\Program Files\nodejs\npm.CMD
https://github.com/jdf2e/nutui/issues/3222
taro-view-core != view 是基于 playground 截图的,和实际有出入 但是源码里面确实是直接写的view
相关平台
H5
复现仓库
https://github.com/jdf2e/nutui.git 浏览器版本: Microsoft Edge 版本 130.0.2849.56 (正式版本) (64 位) 使用框架: Vue 3
复现步骤
https://github.com/jdf2e/nutui/issues/3222 // playground https://nutui.jd.com/playground/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cCBsYW5nPVwidHNcIj5cbmltcG9ydCB7IHNob3dUb2FzdCB9IGZyb20gJ0BudXR1aS9udXR1aSdcbmltcG9ydCB7IERvbmdkb25nIH0gZnJvbSAnQG51dHVpL2ljb25zLXZ1ZSdcbmNvbnN0IHNob3cgPSAoKSA9PiB7XG4gIHNob3dUb2FzdC50ZXh0KCdIZWxsbywgTnV0VUkhJylcbn07XG48L3NjcmlwdD5cbjx0ZW1wbGF0ZT5cbiAgPG51dC10YWJiYXIgYm90dG9tIHBsYWNlaG9sZGVyPlxuICAgICAgPERvbmdkb25nIC8 XG4gIDwvbnV0LXRhYmJhcj5cbjwvdGVtcGxhdGU In0=
期望结果
view组件被编译为 taro-view-core 而不是 view 组件
实际结果
view 为行内元素 taro-view-core 为正确元素
环境信息
补充信息
https://github.com/jdf2e/nutui/issues/3222