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

fix: cls函数支持传入数值类型 #1827

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

wuping97
Copy link
Collaborator

@wuping97 wuping97 commented Mar 23, 2023

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

fix #1701

💡 需求背景和解决方案

row 组件和 col 组件的属性值要支持 string 类型

解决方案:修改 cls 方法,支持传入 number 类型

📝 更新日志

  • fix(Layout): row 组件和 col 组件的属性值支持 string 类型

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@LeeJim LeeJim merged commit 9410d26 into Tencent:develop Mar 23, 2023
@github-actions github-actions bot mentioned this pull request Mar 27, 2023
LeeJim added a commit that referenced this pull request Mar 27, 2023
* docs: update custom theme

* 新增layout布局 (#1821)

* feat(layout): add a new component

feat #1701

* fix: 修复代码

* fix: 修复PR问题

* build: update issue label workflow

* Docs/layout (#1822)

* chore(layout): add docs and property file

* chore: update layout url

* fix(col): update api

* fix: cls函数支持传入数值类型 (#1827)

* 修复 button 组件 disableb 对控制 tap 无效问题 (#1833)

* fix: button的tap事件没触发

fix #1797

* fix: disableb 对控制 tap 无效

* fix: fix lint question

* feat(search): add type prop to input component (#1828)

add type prop to input component

fix #1793

* fix(NoticeBar): resolve scroll (#1835)

* fix(checkbox): placement name in demo is wrong (#1836)

* fix(popup): resolve close can not tap

* feat(popup): support background,border-radius,safe-area

* fix(popup): add less variable (#1758)

* fix(checkbox): placement name

* feat(pulldownrefresh): add default value to loading-texts (#1837)

* feat(pulldownrefresh): add default value to loading-texts

add default value to loading-texts

* fix(pulldownrefresh): add default value to loading-texts

#1806

* fix(pulldown-refresh): resolve external class (#1839)

* chore: add layout on overview page

* fix(grid): resolve image class (#1842)

* fix(notice-bar): fix loop prop (#1826)

fix notice-bar loop issue

* fix(cascader): resolve options when value changed (#1841)

* fix(tabs): resolve animation and uncaught error (#1843)

* fix(tabs): remove scroll bar (#1844)

* chore: publish v1.1.0 (#1845)

* chore: publish v1.1.0

* chore: changelog's changes

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: pingwu <58472278+wuping97@users.noreply.github.com>
Co-authored-by: Haochen Li <lihaochen2017@outlook.com>
Co-authored-by: Y <anly_yaw@163.com>
Co-authored-by: Wang <awangjianjun9@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
LeeJim added a commit that referenced this pull request Apr 4, 2023
* docs: update custom theme

* 新增layout布局 (#1821)

* feat(layout): add a new component

feat #1701

* fix: 修复代码

* fix: 修复PR问题

* build: update issue label workflow

* Docs/layout (#1822)

* chore(layout): add docs and property file

* chore: update layout url

* fix(col): update api

* fix: cls函数支持传入数值类型 (#1827)

* 修复 button 组件 disableb 对控制 tap 无效问题 (#1833)

* fix: button的tap事件没触发

fix #1797

* fix: disableb 对控制 tap 无效

* fix: fix lint question

* feat(search): add type prop to input component (#1828)

add type prop to input component

fix #1793

* fix(NoticeBar): resolve scroll (#1835)

* fix(checkbox): placement name in demo is wrong (#1836)

* fix(popup): resolve close can not tap

* feat(popup): support background,border-radius,safe-area

* fix(popup): add less variable (#1758)

* fix(checkbox): placement name

* feat(pulldownrefresh): add default value to loading-texts (#1837)

* feat(pulldownrefresh): add default value to loading-texts

add default value to loading-texts

* fix(pulldownrefresh): add default value to loading-texts

#1806

* fix(pulldown-refresh): resolve external class (#1839)

* chore: add layout on overview page

* fix(grid): resolve image class (#1842)

* fix(notice-bar): fix loop prop (#1826)

fix notice-bar loop issue

* fix(cascader): resolve options when value changed (#1841)

* fix(tabs): resolve animation and uncaught error (#1843)

* fix(tabs): remove scroll bar (#1844)

* chore: publish v1.1.0 (#1845)

* chore: publish v1.1.0

* chore: changelog's changes

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* feat(Button): add hover-class attr (#1847)

* fix(tabs): resolve content overlay (#1853)

* fix(Message): resolve marquee (#1856)

* fix(avatar): resolve "bordered" is overwritten warning (#1849) (#1858)

* fix(popup): resolve close can not tap

* feat(popup): support background,border-radius,safe-area

* fix(popup): add less variable (#1758)

* fix(checkbox): placement name

* fix(avatar): resolve "bordered" is overwritten warning (#1849)

* fix(avatar): add borderedWithGroup attr

* fix(drawer): resolve destroyOnClose error (#1864)

* chore: publish v1.1.1 (#1867)

* chore: publish v1.1.1

* chore: changelog's changes

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: pingwu <58472278+wuping97@users.noreply.github.com>
Co-authored-by: Haochen Li <lihaochen2017@outlook.com>
Co-authored-by: Y <anly_yaw@163.com>
Co-authored-by: Wang <awangjianjun9@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

[Layout 布局] 希望增加布局组件
2 participants