From 6b2d23661f6c42bcb6526a822bd7e0537c1a99cd Mon Sep 17 00:00:00 2001 From: catchonme Date: Thu, 29 Aug 2019 10:25:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtable=20Operation=20=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/renderers/Operation.md | 2 +- examples/components/Doc.jsx | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/renderers/Operation.md b/docs/renderers/Operation.md index 480ea6e4..22563641 100644 --- a/docs/renderers/Operation.md +++ b/docs/renderers/Operation.md @@ -4,4 +4,4 @@ - `type` 请设置成 `operation`。 - `label` 列标题。 -- `buttons` 按钮集合,请参考[Button](./Button.md) 按钮配置说明。 +- `buttons` 按钮集合,请参考[Button](./Form/Button.md) 按钮配置说明。 diff --git a/examples/components/Doc.jsx b/examples/components/Doc.jsx index 3b6e7388..60afa377 100644 --- a/examples/components/Doc.jsx +++ b/examples/components/Doc.jsx @@ -594,6 +594,13 @@ export default { cb(null, makeMarkdownRenderer(doc)); }), }, + { + label: 'Operation', + path: '/docs/renderers/Operation', + getComponent: (location, cb) => require(['../../docs/renderers/Operation.md'], (doc) => { + cb(null, makeMarkdownRenderer(doc)); + }) + }, ] }, {