Skip to content

Commit

Permalink
chore(release): v2.0.24
Browse files Browse the repository at this point in the history
  • Loading branch information
oasis-cloud committed Nov 10, 2023
1 parent f8888fb commit f737ee9
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
# v2.0.24
`2023-11-10`

* 🚀 perf(deps): 升级 icons 依赖,icons 包体积缩减 (#1604) @oasis-cloud
* 🚀 perf(CalendarCard): taro demo 性能优化 (#1593) @Eiinu
* :sparkles: feat(Toast): 新增 wordBreak 属性 (#1606) @Eiinu
* :sparkles: feat: picker and datepicker add onCancel (#1603) @xiaoyatong
* :sparkles: feat: 类似微信头像裁剪组件 (#1564) @Marvin Gui
* :bug: fix(CalendarCard): 初始化渲染逻辑优化 (#1596) @Eiinu
* :bug: fix(circleprogress): 计算出现 NaN 导致组件展示为 100% 的情况 (#1602) @oasis-cloud
* :bug: fix(elevator): 替换文档展示pagation到showKeys (#1598) @HaiTao
* :bug: fix(tag): 修复加载样式问题 #1588 (#1592) @Eiinu
* :bug: fix: picker & DatePicker onConfirm failed (#1601) @xiaoyatong
* :bug: fix: swiper indicator zindex at taro (#1586) @xiaoyatong
* :bug: fix: taro event detail is undefined (#1591) @xiaoyatong
* :bug: fix: virtuallist key at taro (#1584) @xiaoyatong
* :bug: fix: 标签上的属性默认为 true,导致渲染 lockscroll 相关的 class (#1599) @oasis-cloud
* 📖 docs(form): 由于文案包含姓名等文字,导致小程序审核不通过 (#1609) @oasis-cloud
* 📖 docs: V1 升 V2 差异点更新 (#1607) @JQ

# v2.0.23
`2023-11-03`

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nutui/nutui-react",
"version": "2.0.23",
"name": "@nutui/nutui-react-taro",
"version": "2.0.24",
"style": "dist/style.css",
"main": "dist/nutui.react.umd.js",
"module": "dist/esm/nutui-react.es.js",
Expand Down
6 changes: 3 additions & 3 deletions src/packages/audio/demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ const AudioDemo = () => {
},
})
const [duration, setDuration] = useState(0)
const [voiceIcon, setVoiceIcon] = useState<any>(PlayCircleFill)
const [voiceIcon, setVoiceIcon] = useState<any>(<PlayCircleFill />)
const audioElement = document.querySelectorAll('audio')[2]
if (audioElement) {
audioElement.addEventListener('playing', (e) => {
setVoiceIcon(PoweroffCircleFill)
setVoiceIcon(<PoweroffCircleFill />)
})
audioElement.addEventListener('pause', (e) => {
setVoiceIcon(PlayCircleFill)
setVoiceIcon(<PlayCircleFill />)
})
}
return (
Expand Down

0 comments on commit f737ee9

Please sign in to comment.