We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a178ea6 + 24872ed commit 0903248Copy full SHA for 0903248
2 files changed
CHANGELOG.md
@@ -10,6 +10,10 @@
10
11
---
12
13
+## 1.0.16
14
+`2022-06-13`
15
+- Table
16
+ - 🆕 列自定义 title 支持获取 column 信息
17
## 1.0.15
18
`2021-12-13`
19
- Table
src/table/Th.js
@@ -8,7 +8,7 @@ const prefixCls = classCreator('table')();
8
9
const titleTemplate = `
<!--配置title slot-->
- <slot s-if="column.slots.title" name="{{column.slots.title}}" />
+ <slot s-if="column.slots.title" name="{{column.slots.title}}" var-column="{{column}}" />
<template s-else>{{column.title}}</template>
`;
0 commit comments