From 95beedfc4d6341acff0a35f78740d15d81cfba53 Mon Sep 17 00:00:00 2001
From: ajaxzheng <894103554@qq.com>
Date: Thu, 21 Dec 2023 16:28:43 +0800
Subject: [PATCH] docs(grid): update grid docs (#1189)
* docs(grid): update grid docs
* docs(grid): update grid docs
* docs(grid): update grid docs
---
.../insert-delete-update-composition-api.vue | 3 ++-
.../pc/app/grid/toolbar/insert-delete-update.vue | 3 ++-
.../toolbar-op-config-composition-api.vue | 5 +++--
.../pc/app/grid/toolbar/toolbar-op-config.vue | 5 +++--
examples/sites/demos/pc/app/grid/webdoc/grid.js | 2 +-
internals/automate/.gitignore | 1 +
packages/modules.json | 16 ++++++++--------
7 files changed, 20 insertions(+), 15 deletions(-)
create mode 100644 internals/automate/.gitignore
diff --git a/examples/sites/demos/pc/app/grid/toolbar/insert-delete-update-composition-api.vue b/examples/sites/demos/pc/app/grid/toolbar/insert-delete-update-composition-api.vue
index f1a7040d9..96d1066db 100644
--- a/examples/sites/demos/pc/app/grid/toolbar/insert-delete-update-composition-api.vue
+++ b/examples/sites/demos/pc/app/grid/toolbar/insert-delete-update-composition-api.vue
@@ -132,7 +132,8 @@ function toolbarButtonClickEvent({ code, $grid }) {
break
}
case 'getDelete': {
- $grid.getRemoveRecords() // 获取删除的数据
+ const deleteData = $grid.getRemoveRecords() // 获取删除的数据
+ Modal.alert('获取删除的数据:' + JSON.stringify(deleteData))
break
}
case 'save': {
diff --git a/examples/sites/demos/pc/app/grid/toolbar/insert-delete-update.vue b/examples/sites/demos/pc/app/grid/toolbar/insert-delete-update.vue
index fa37fafef..80b6bfd4e 100644
--- a/examples/sites/demos/pc/app/grid/toolbar/insert-delete-update.vue
+++ b/examples/sites/demos/pc/app/grid/toolbar/insert-delete-update.vue
@@ -140,7 +140,8 @@ export default {
break
}
case 'getDelete': {
- $grid.getRemoveRecords() // 获取删除的数据
+ const deleteData = $grid.getRemoveRecords() // 获取删除的数据
+ Modal.alert('获取删除的数据:' + JSON.stringify(deleteData))
break
}
case 'save': {
diff --git a/examples/sites/demos/pc/app/grid/toolbar/toolbar-op-config-composition-api.vue b/examples/sites/demos/pc/app/grid/toolbar/toolbar-op-config-composition-api.vue
index 9022a3287..8b59c9d80 100644
--- a/examples/sites/demos/pc/app/grid/toolbar/toolbar-op-config-composition-api.vue
+++ b/examples/sites/demos/pc/app/grid/toolbar/toolbar-op-config-composition-api.vue
@@ -2,7 +2,7 @@
-