From 72bc09fe938756ded735f403c11664414e195456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?w=C5=AB=20y=C4=81ng?= Date: Sun, 10 Mar 2024 22:43:00 +0800 Subject: [PATCH] chore: release 1.9.1 (#3107) * chore: release 1.9.1 * chore: changelog's changes * chore: resolve warning --------- Co-authored-by: github-actions[bot] --- CHANGELOG.md | 21 +++++++++++++++++++++ package.json | 2 +- src/date-picker/DatePicker.tsx | 2 +- 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcd7f201a..256d16e9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,27 @@ toc: false docClass: timeline --- +## 🌈 1.9.1 `2024-03-10` + +### 🚀 Features +- `Slider`: 支持通过 `label=null` 或 `label=false` 隐藏滑块数字浮层 @chaishi ([#3100](https://github.com/Tencent/tdesign-vue/pull/3100)) +- `Table`: 支持全局配置 size @Lyan-u ([#3103](https://github.com/Tencent/tdesign-vue/pull/3103)) +- `Table`: 可筛选表格,单选/多选筛选条件,支持搜索选项 [issue#3988](https://github.com/Tencent/tdesign-vue-next/issues/3988) @chaishi ([#3098](https://github.com/Tencent/tdesign-vue/pull/3098)) +- Tabs: 调整激活 Tab下划线与 TabHeader边框的层级关系 @uyarn + +### 🐞 Bug Fixes +- `DatePicker`: 修复 `format` 与 `valueType` 不一致的场景下计算错误的问题 @uyarn ([#3106](https://github.com/Tencent/tdesign-vue/pull/3106)) +- `Descriptions`: 解决控制台报错绑定属性 `title` 已声明为属性的问题 @betavs ([#3065](https://github.com/Tencent/tdesign-vue/pull/3065)) +- `Descriptions`: 优化自适应宽度的问题 @uyarn ([#3105](https://github.com/Tencent/tdesign-vue/pull/3105)) +- `Table`: 树形结构表格,修复同时异步设置 data 和 expandedTreeNodes 时,展开节点的无效问题 [tdesign-vue-next#3873](https://github.com/Tencent/tdesign-vue-next/issues/3873) @chaishi ([#3098](https://github.com/Tencent/tdesign-vue/pull/3098)) +- `Table`: 固定列表格,修复固定多列时,在 Dialog 中固定列位置压缩问题 @chaishi ([#3098](https://github.com/Tencent/tdesign-vue/pull/3098)) +- `Table`: 修复`Table`缺失`refreshTable`方法的异常 @uyarn ([#3104](https://github.com/Tencent/tdesign-vue/pull/3104)) + +### 🚧 Others +- `Form` 文档更新 @liweijie0812 ([#3064](https://github.com/Tencent/tdesign-vue/pull/3064)) +- 新增 `composition API` 示例,详情请参考官网各示例代码 @chaishi @uyarn @HaixingOoO ([#3081](https://github.com/Tencent/tdesign-vue/pull/3081)) + + ## 🌈 1.9.0 `2024-01-23` ### 🚀 Features - `Descriptions`: 新增 `Descriptions` 描述组件 @zhangpaopao0609 ([#3035](https://github.com/Tencent/tdesign-vue/pull/3035)) diff --git a/package.json b/package.json index 432a6c375..a13c6cce4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "tdesign-vue", "purename": "tdesign", - "version": "1.9.0", + "version": "1.9.1", "description": "tdesign-vue", "title": "tdesign-vue", "keywords": [ diff --git a/src/date-picker/DatePicker.tsx b/src/date-picker/DatePicker.tsx index fd9dd06d4..e09be55c5 100644 --- a/src/date-picker/DatePicker.tsx +++ b/src/date-picker/DatePicker.tsx @@ -51,7 +51,7 @@ export default defineComponent({ const isDisabled = computed(() => formDisabled.value || props.disabled); watch(popupVisible, (visible) => { - const dateValue = covertToDate(value.value as string, formatRef.value?.valueType); + const dateValue = value.value ? covertToDate(value.value as string, formatRef.value?.valueType) : value.value; cacheValue.value = formatDate(dateValue, { format: formatRef.value.format,