From e38441538aa95d65db8c9e40d3410462e03742e7 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: Wed, 14 Sep 2022 09:39:40 +0800
Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(component):=20=E4=BF=AE=E5=A4=8D?=
=?UTF-8?q?=20customSlot=20=E7=BB=93=E5=90=88=20tooltip=20=E7=9A=84?=
=?UTF-8?q?=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../component/src/component/popper/index.vue | 2 +-
.../src/component/table/TableRow.vue | 4 +-
.../src/document/zh-CN/components/table.md | 278 +++++++++++-------
3 files changed, 171 insertions(+), 113 deletions(-)
diff --git a/package/component/src/component/popper/index.vue b/package/component/src/component/popper/index.vue
index c94e08fe..3a5a831e 100644
--- a/package/component/src/component/popper/index.vue
+++ b/package/component/src/component/popper/index.vue
@@ -35,7 +35,7 @@ import {
shallowRef,
computed,
toRef,
- StyleValue,
+ StyleValue
} from "vue";
import { onClickOutside, useEventListener, useThrottleFn } from "@vueuse/core";
diff --git a/package/component/src/component/table/TableRow.vue b/package/component/src/component/table/TableRow.vue
index f694ea35..de3f7b86 100644
--- a/package/component/src/component/table/TableRow.vue
+++ b/package/component/src/component/table/TableRow.vue
@@ -512,10 +512,12 @@ const radioProps = props.getRadioProps(props.data, props.index);
+
+
+
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 d1709f7c..35d66464 100644
--- a/package/document-component/src/document/zh-CN/components/table.md
+++ b/package/document-component/src/document/zh-CN/components/table.md
@@ -1388,124 +1388,180 @@ export default {
::: demo 使用了绝大部分属性的 table 案例
-
-
- 新增
- 删除
-
- {{data.name}}
- {{data.remark}}
- 😊
- {{data.birthday}}
-
- 修改
- 删除
-
-
-
- 内容
-
-
+
+
+ {{ data.person != null ? data.person.name : '--' }}
+
+
+ {{ data.person != null ? data.person.idcard : '--' }}
+
+
+ {{ data.person != null ? data.person.bank_name : '--' }}
+
+
+ {{ data.person != null ? data.person.bank_no : '--' }}
+
+
+ {{
+ data.person != null
+ ? data.person.alipay_account != null
+ ? data.person.alipay_account
+ : '未配置支付宝账号'
+ : '--'
+ }}
+
+
+ {{ data.person != null ? data.person.phone : '--' }}
+
+
+ 未发放
+ 处理中
+ 发放中
+ 发放完成
+ 发放失败
+ 状态异常
+
+
+ {{ data.pay_time != null ? data.pay_time : '--' }}
+
-
:::