From 0d4694f420b4cb8dce0302823ea69d614ac754d6 Mon Sep 17 00:00:00 2001
From: Gimmy <975402925@qq.com>
Date: Thu, 7 Nov 2024 17:23:38 +0800
Subject: [PATCH] docs(grid): [grid] optimize grid demos
---
.../popeditor-in-grid-remote-search-composition-api.vue | 2 +-
.../pc/app/grid/editor/popeditor-in-grid-remote-search.vue | 2 +-
.../pc/app/grid/empty/empty-data-tip-composition-api.vue | 2 +-
examples/sites/demos/pc/app/grid/empty/empty-data-tip.vue | 2 +-
.../operation-column/selection-config-composition-api.vue | 1 -
examples/sites/demos/pc/app/grid/webdoc/grid-editor.js | 4 ++--
packages/theme/src/grid/table.less | 3 ++-
7 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/examples/sites/demos/pc/app/grid/editor/popeditor-in-grid-remote-search-composition-api.vue b/examples/sites/demos/pc/app/grid/editor/popeditor-in-grid-remote-search-composition-api.vue
index c1a1f06a0c..5cfcc34558 100644
--- a/examples/sites/demos/pc/app/grid/editor/popeditor-in-grid-remote-search-composition-api.vue
+++ b/examples/sites/demos/pc/app/grid/editor/popeditor-in-grid-remote-search-composition-api.vue
@@ -86,7 +86,7 @@ function getPopEditorOp() {
{
field: 'id',
title: 'ID',
- width: 40
+ width: 60
},
{
field: 'name',
diff --git a/examples/sites/demos/pc/app/grid/editor/popeditor-in-grid-remote-search.vue b/examples/sites/demos/pc/app/grid/editor/popeditor-in-grid-remote-search.vue
index 49865c7af7..ef4df3d82d 100644
--- a/examples/sites/demos/pc/app/grid/editor/popeditor-in-grid-remote-search.vue
+++ b/examples/sites/demos/pc/app/grid/editor/popeditor-in-grid-remote-search.vue
@@ -89,7 +89,7 @@ export default {
{
field: 'id',
title: 'ID',
- width: 40
+ width: 60
},
{
field: 'name',
diff --git a/examples/sites/demos/pc/app/grid/empty/empty-data-tip-composition-api.vue b/examples/sites/demos/pc/app/grid/empty/empty-data-tip-composition-api.vue
index cdcbb38de3..cbaad372e2 100644
--- a/examples/sites/demos/pc/app/grid/empty/empty-data-tip-composition-api.vue
+++ b/examples/sites/demos/pc/app/grid/empty/empty-data-tip-composition-api.vue
@@ -7,7 +7,7 @@
diff --git a/examples/sites/demos/pc/app/grid/empty/empty-data-tip.vue b/examples/sites/demos/pc/app/grid/empty/empty-data-tip.vue
index 2d7bfc1a84..3db0b548cd 100644
--- a/examples/sites/demos/pc/app/grid/empty/empty-data-tip.vue
+++ b/examples/sites/demos/pc/app/grid/empty/empty-data-tip.vue
@@ -7,7 +7,7 @@
diff --git a/examples/sites/demos/pc/app/grid/operation-column/selection-config-composition-api.vue b/examples/sites/demos/pc/app/grid/operation-column/selection-config-composition-api.vue
index f5fb110401..da91ea18ed 100644
--- a/examples/sites/demos/pc/app/grid/operation-column/selection-config-composition-api.vue
+++ b/examples/sites/demos/pc/app/grid/operation-column/selection-config-composition-api.vue
@@ -5,7 +5,6 @@
ref="gridRef"
:select-config="selectConfig"
highlight-current-row
- border
:edit-config="{ trigger: 'click', mode: 'cell', showStatus: true }"
>
通过在 grid
标签上配置 edit-config
。在 grid-column
列配置 editor
对象, component
渲染内置编辑组件, events
配置组件事件。
特别说明:
-内置编辑器只支持 Input
和 Select
组件,需要使用其他组件可参考自定义编辑器。
内置编辑器只支持 Input
和 Select
组件且均为浏览器原生组件并非TinyVue组件,需要使用其他组件可参考自定义编辑器。