From a62e28bbe94474cc6826f1fa7c9bca5b3974f3e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Tue, 9 Aug 2022 18:05:12 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(component):=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/src/component/formItem/index.vue | 1 - package/component/src/component/table/index.vue | 12 ++++++++---- .../src/document/zh-CN/components/table.md | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/package/component/src/component/formItem/index.vue b/package/component/src/component/formItem/index.vue index f25239e8..e2cb89ba 100644 --- a/package/component/src/component/formItem/index.vue +++ b/package/component/src/component/formItem/index.vue @@ -73,7 +73,6 @@ const ruleItems = computed(() => { return rulesArrs; }); -// 值 计算 和 监听 const filedValue = computed(() => props.prop ? layForm.model[props.prop] : undefined ); diff --git a/package/component/src/component/table/index.vue b/package/component/src/component/table/index.vue index 7ef9696f..fde78057 100644 --- a/package/component/src/component/table/index.vue +++ b/package/component/src/component/table/index.vue @@ -70,7 +70,7 @@ const props = withDefaults(defineProps(), { defaultExpandAll: false, spanMethod: () => {}, expandKeys: () => [], - loading: false + loading: false, }); const tableId = uuidv4(); @@ -777,11 +777,15 @@ const renderTotalRowCell = (column: any) => { - + diff --git a/package/document-component/src/document/zh-CN/components/table.md b/package/document-component/src/document/zh-CN/components/table.md index 6537e04e..85d3381d 100644 --- a/package/document-component/src/document/zh-CN/components/table.md +++ b/package/document-component/src/document/zh-CN/components/table.md @@ -1223,7 +1223,7 @@ export default { ::: -::: title 复杂表头 +::: title 加载过渡 ::: ::: demo 通过 `span-method` 属性, 自定义行列合并的逻辑。