From f737ee97008e5c862e46e629d2c786d63182444b Mon Sep 17 00:00:00 2001 From: oasis-cloud Date: Fri, 10 Nov 2023 15:02:30 +0800 Subject: [PATCH] chore(release): v2.0.24 --- CHANGELOG.md | 20 ++++++++++++++++++++ package.json | 4 ++-- src/packages/audio/demo.tsx | 6 +++--- 3 files changed, 25 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3649fa0b16..96e993f502 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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` diff --git a/package.json b/package.json index cd4b43b4e0..d81fc81f9e 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/packages/audio/demo.tsx b/src/packages/audio/demo.tsx index ab2099f5fc..0c3af87638 100644 --- a/src/packages/audio/demo.tsx +++ b/src/packages/audio/demo.tsx @@ -28,14 +28,14 @@ const AudioDemo = () => { }, }) const [duration, setDuration] = useState(0) - const [voiceIcon, setVoiceIcon] = useState(PlayCircleFill) + const [voiceIcon, setVoiceIcon] = useState() const audioElement = document.querySelectorAll('audio')[2] if (audioElement) { audioElement.addEventListener('playing', (e) => { - setVoiceIcon(PoweroffCircleFill) + setVoiceIcon() }) audioElement.addEventListener('pause', (e) => { - setVoiceIcon(PlayCircleFill) + setVoiceIcon() }) } return (