diff --git a/docs/zh/ecosystem-d2-crud/example.md b/docs/zh/ecosystem-d2-crud/example.md
index 1c1ee9a4..5b6ff793 100644
--- a/docs/zh/ecosystem-d2-crud/example.md
+++ b/docs/zh/ecosystem-d2-crud/example.md
@@ -26,3 +26,4 @@
| --- | --- |
| 新增数据 | [点我查看](https://fairyever.gitee.io/d2-admin-preview/#/demo/d2-crud/demo16) |
| 修改数据 | [点我查看](https://fairyever.gitee.io/d2-admin-preview/#/demo/d2-crud/demo17) |
+| 删除数据 | [点我查看](https://fairyever.gitee.io/d2-admin-preview/#/demo/d2-crud/demo18) |
diff --git a/src/menu/modules/demo-d2-crud.js b/src/menu/modules/demo-d2-crud.js
index 2ac45723..c1306c6b 100644
--- a/src/menu/modules/demo-d2-crud.js
+++ b/src/menu/modules/demo-d2-crud.js
@@ -28,7 +28,8 @@ export default {
title: '数据操作',
children: [
{ path: `${pre}demo16`, title: '新增数据' },
- { path: `${pre}demo17`, title: '修改数据' }
+ { path: `${pre}demo17`, title: '修改数据' },
+ { path: `${pre}demo18`, title: '删除数据' }
]
}
])('/demo/d2-crud/')
diff --git a/src/pages/demo/d2-crud/demo18/code.js b/src/pages/demo/d2-crud/demo18/code.js
new file mode 100644
index 00000000..45d4e564
--- /dev/null
+++ b/src/pages/demo/d2-crud/demo18/code.js
@@ -0,0 +1,76 @@
+export default `
+
+
+
+
+
+`
diff --git a/src/pages/demo/d2-crud/demo18/doc.md b/src/pages/demo/d2-crud/demo18/doc.md
new file mode 100644
index 00000000..273fe0c9
--- /dev/null
+++ b/src/pages/demo/d2-crud/demo18/doc.md
@@ -0,0 +1 @@
+通过给 `D2 Crud` 传入 `rowHandle` 可开启表格操作列,传入 `remove` 对象可以开启删除模式,`confirm` 属性的值为 `Boolean` 类型,控制删除前是否弹出confirm框进行提示, `row-remove` 事件控制数据删除,参数: `index` 是当前删除行的索引, `row` 是当前删除行的数据, `done` 用于控制删除成功,可以在 `done()` 之前加入自己的逻辑代码。代码如下:
diff --git a/src/pages/demo/d2-crud/demo18/index.vue b/src/pages/demo/d2-crud/demo18/index.vue
new file mode 100644
index 00000000..5c42ffe4
--- /dev/null
+++ b/src/pages/demo/d2-crud/demo18/index.vue
@@ -0,0 +1,92 @@
+
+
+ 删除数据
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/router/routes.js.REMOVED.git-id b/src/router/routes.js.REMOVED.git-id
index 92df163e..1c893735 100644
--- a/src/router/routes.js.REMOVED.git-id
+++ b/src/router/routes.js.REMOVED.git-id
@@ -1 +1 @@
-3bf22d5f8e04524c6e8b3a3e5dc97fb66ea3f51d
\ No newline at end of file
+4f35ee266511f772688d28a0c6d4b7a56c384dc4
\ No newline at end of file