From ede7e7be3a932179a316d70486c46bace90c63b1 Mon Sep 17 00:00:00 2001 From: tianxin Date: Fri, 20 Oct 2023 00:19:33 -0700 Subject: [PATCH 1/2] =?UTF-8?q?grid=E8=A1=A8=E6=A0=BC=E7=A4=BA=E4=BE=8B?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=BC=96=E8=BE=91=E5=99=A8=E6=8F=92=E6=A7=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../demos/pc/app/grid/slot/editor-slot.vue | 83 +++++++++++++++++++ .../demos/pc/app/grid/webdoc/grid-slot.js | 6 ++ 2 files changed, 89 insertions(+) create mode 100644 examples/sites/demos/pc/app/grid/slot/editor-slot.vue diff --git a/examples/sites/demos/pc/app/grid/slot/editor-slot.vue b/examples/sites/demos/pc/app/grid/slot/editor-slot.vue new file mode 100644 index 0000000000..1e0f1c2118 --- /dev/null +++ b/examples/sites/demos/pc/app/grid/slot/editor-slot.vue @@ -0,0 +1,83 @@ + + + \ No newline at end of file diff --git a/examples/sites/demos/pc/app/grid/webdoc/grid-slot.js b/examples/sites/demos/pc/app/grid/webdoc/grid-slot.js index d5b4a67626..c66448c014 100644 --- a/examples/sites/demos/pc/app/grid/webdoc/grid-slot.js +++ b/examples/sites/demos/pc/app/grid/webdoc/grid-slot.js @@ -19,6 +19,12 @@ export default { 'name': { 'zh-CN': '空数据显示插槽', 'en-US': 'Empty data display slot' }, 'desc': { 'zh-CN': '详细用法参考如下示例', 'en-US': 'For details, see the following example.' }, 'codeFiles': ['slot/empty-slot.vue'] + }, + { + 'demoId': 'slot-editor-slot', + 'name': { 'zh-CN': '编辑器插槽', 'en-US': 'Editor slot' }, + 'desc': { 'zh-CN': '详细用法参考如下示例', 'en-US': 'For details, see the following example.' }, + 'codeFiles': ['slot/editor-slot.vue'] } ], apis: [{ 'name': 'grid-slot', 'type': 'component', 'properties': [], 'events': [], 'slots': [] }] From 5867d5cc3e725a9080186a9e568f0c1b962be5e9 Mon Sep 17 00:00:00 2001 From: tianxin Date: Mon, 23 Oct 2023 00:46:26 -0700 Subject: [PATCH 2/2] =?UTF-8?q?grid=E8=A1=A8=E6=A0=BC=E7=A4=BA=E4=BE=8B?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=BC=96=E8=BE=91=E5=99=A8=E6=8F=92=E6=A7=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/sites/demos/pc/app/grid/slot/editor-slot.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/sites/demos/pc/app/grid/slot/editor-slot.vue b/examples/sites/demos/pc/app/grid/slot/editor-slot.vue index 1e0f1c2118..bfc923ff5b 100644 --- a/examples/sites/demos/pc/app/grid/slot/editor-slot.vue +++ b/examples/sites/demos/pc/app/grid/slot/editor-slot.vue @@ -4,8 +4,8 @@ @@ -17,13 +17,13 @@