Skip to content

Feature/range input#104

Merged
duenyang merged 16 commits into
TDesignOteam:mainfrom
ming680:feature/range-input
Jul 19, 2024
Merged

Feature/range input#104
duenyang merged 16 commits into
TDesignOteam:mainfrom
ming680:feature/range-input

Conversation

@ming680
Copy link
Copy Markdown
Contributor

@ming680 ming680 commented Jul 18, 2024

🤔 这个 PR 的性质是?

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

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

  • feature(range-input): range-input 组件

  • 本条 PR 不需要纳入 Changelog

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

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

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

Comment thread src/button/style/index.js Outdated

// 为了做主题切换
import styles from '../../_common/style/web/components/button/_index.less';
import styles from '../../_common/style/web/components/range-input/_index.less';
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改为button

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已修改

Comment thread src/range-input/RangeInput.tsx Outdated

private isHover = signal(false);

private innerValue = signal<RangeInputValue>([]);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里看innerValue作为value的默认值,确认下是否需要signal

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为了外部不传value属性,innerValue可以正常数据变化,组件更新

@duenyang duenyang merged commit b1789c8 into TDesignOteam:main Jul 19, 2024
This was referenced Oct 17, 2024
This was referenced Dec 16, 2024
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.

2 participants