diff --git a/package/component/src/component/rate/index.vue b/package/component/src/component/rate/index.vue index bab70ba9..f3a39ac8 100644 --- a/package/component/src/component/rate/index.vue +++ b/package/component/src/component/rate/index.vue @@ -1,6 +1,6 @@ @@ -83,14 +83,12 @@ const action = function (index: number, event: any) { }; // 清除评分图标 -const showClearIcon = computed( - () => !props.readonly && props.hasClear -); -const clearRate = function(){ +const showClearIcon = computed(() => !props.readonly && props.hasClear); +const clearRate = function () { tempValue.value = 0; currentValue.value = 0; emit("clear", currentValue.value); -} +}; diff --git a/package/document/src/document/zh-CN/components/table.md b/package/document/src/document/zh-CN/components/table.md index f892b1d3..8b08b022 100644 --- a/package/document/src/document/zh-CN/components/table.md +++ b/package/document/src/document/zh-CN/components/table.md @@ -374,7 +374,7 @@ export default { | sort | 排序 | -- | -- | -- | | titleSlot | 标题插槽 | -- | -- | -- | | align | 对齐方式 | `string` | `left` | `left` `right` `center` | -| textOverflowTooltip | 当内容过长被隐藏时显示 tooltip | `boolean` | `false` | `true` `false` | +| ellipsisTooltip | 当内容过长被隐藏时显示 tooltip | `boolean` | `false` | `true` `false` | :::