Skip to content

Commit 5817797

Browse files
committed
示例优化
1 parent 6271890 commit 5817797

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

examples/src/docs/zh/ve-table/cell-edit/edit-control.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
```html
66
<template>
77
<div>
8-
<button @click="startEditingCell(0,'name')">编辑单元格0-0</button>
9-
<button @click="startEditingCell(2,'hobby','')">编辑并清空单元格2-2</button>
8+
<button class="button-demo" @click="startEditingCell(0,'name')">编辑单元格0-0</button>
9+
<button class="button-demo" @click="startEditingCell(2,'hobby','')">
10+
编辑并清空单元格2-2
11+
</button>
1012
&nbsp;&nbsp;
11-
<button @click="stopEditingCell(0,'name')">停止编辑单元格1-1</button>
12-
<button @click="stopEditingCell(2,'hobby')">停止编辑单元格2-2</button>
13+
<button class="button-demo" @click="stopEditingCell(0,'name')">停止编辑单元格1-1</button>
14+
<button class="button-demo" @click="stopEditingCell(2,'hobby')">停止编辑单元格2-2</button>
1315
<br />
1416
<br />
1517
<ve-table

0 commit comments

Comments
 (0)