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

bugs: 部分组件slot无法被正常替换 #96

Closed
yang1206 opened this issue Nov 7, 2023 · 0 comments
Closed

bugs: 部分组件slot无法被正常替换 #96

yang1206 opened this issue Nov 7, 2023 · 0 comments

Comments

@yang1206
Copy link
Member

yang1206 commented Nov 7, 2023

nutui-uniapp 版本号

1.3.5

平台

weapp

重现链接

dcloudio/uni-app#4229 (comment)

重现步骤

dcloudio/uni-app#4229 (comment)

期望的结果是什么?

部分有默认值的插槽被正常替换

实际的结果是什么?

插槽中没默认值时,短横线命名、驼峰命名都可以;有默认值时,短横线命名会导致无法替换

环境信息

No response

其他补充信息

No response

yang1206 added a commit that referenced this issue Nov 7, 2023
BREAKING CHANGE: 组件的slot名称由短横线替换为驼峰格式

受到影响的组件有: address , addresslist , calendar , card , comment , inputnumber , navbar , noticebar ,
pagination , progress , sku , trendarrow , uploader

link #96
@yang1206 yang1206 closed this as completed Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant