diff --git a/components/table/index.en-US.md b/components/table/index.en-US.md index fa7d88b70..d0ffcfec3 100644 --- a/components/table/index.en-US.md +++ b/components/table/index.en-US.md @@ -86,14 +86,14 @@ Follow [Vue jsx](https://github.com/vuejs/babel-plugin-transform-vue-jsx) syntax xxxx... }, }; - )} + }} customHeaderRow={(column) => { return { on: { click: () => {}, // click header row }, }; - )} + }} /> ``` diff --git a/components/table/index.zh-CN.md b/components/table/index.zh-CN.md index dc64f9e03..8ba643ad2 100644 --- a/components/table/index.zh-CN.md +++ b/components/table/index.zh-CN.md @@ -88,14 +88,14 @@ const columns = [{ }, }; - )} + }} customHeaderRow={(column) => { return { on: { click: () => {}, // 点击表头行 } }; - )} + }} /> ```