Skip to content

Commit f79cb8c

Browse files
author
huangshuwei
committed
优化
1 parent e8b264d commit f79cb8c

File tree

2 files changed

+13
-73
lines changed

2 files changed

+13
-73
lines changed

examples/src/docs/en/start.md

Lines changed: 6 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -77,24 +77,9 @@ new Vue({
7777
data() {
7878
return {
7979
columns: [
80-
{
81-
field: "name",
82-
key: "a",
83-
title: "Name",
84-
align: "center",
85-
},
86-
{
87-
field: "date",
88-
key: "b",
89-
title: "Date",
90-
align: "left",
91-
},
92-
{
93-
field: "hobby",
94-
key: "c",
95-
title: "Hobby",
96-
align: "right",
97-
},
80+
{ field: "name", key: "a", title: "Name", align: "center" },
81+
{ field: "date", key: "b", title: "Date", align: "left" },
82+
{ field: "hobby", key: "c", title: "Hobby", align: "right" },
9883
{ field: "address", key: "d", title: "Address" },
9984
],
10085
tableData: [
@@ -178,24 +163,9 @@ Through [https://unpkg.com/vue-easytable/](https://unpkg.com/vue-easytable/), yo
178163
data: function() {
179164
return {
180165
columns: [
181-
{
182-
field: "name",
183-
key: "a",
184-
title: "Name",
185-
align: "center",
186-
},
187-
{
188-
field: "date",
189-
key: "b",
190-
title: "Date",
191-
align: "left",
192-
},
193-
{
194-
field: "hobby",
195-
key: "c",
196-
title: "Hobby",
197-
align: "right",
198-
},
166+
{ field: "name", key: "a", title: "Name", align: "center" },
167+
{ field: "date", key: "b", title: "Date", align: "left" },
168+
{ field: "hobby", key: "c", title: "Hobby", align: "right" },
199169
{ field: "address", key: "d", title: "Address" },
200170
],
201171
tableData: [

examples/src/docs/zh/start.md

Lines changed: 7 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -80,24 +80,9 @@ new Vue({
8080
data() {
8181
return {
8282
columns: [
83-
{
84-
field: "name",
85-
key: "a",
86-
title: "Name",
87-
align: "center",
88-
},
89-
{
90-
field: "date",
91-
key: "b",
92-
title: "Date",
93-
align: "left",
94-
},
95-
{
96-
field: "hobby",
97-
key: "c",
98-
title: "Hobby",
99-
align: "right",
100-
},
83+
{ field: "name", key: "a", title: "Name", align: "center" },
84+
{ field: "date", key: "b", title: "Date", align: "left" },
85+
{ field: "hobby", key: "c", title: "Hobby", align: "right" },
10186
{ field: "address", key: "d", title: "Address" },
10287
],
10388
tableData: [
@@ -181,24 +166,9 @@ new Vue({
181166
data: function() {
182167
return {
183168
columns: [
184-
{
185-
field: "name",
186-
key: "a",
187-
title: "Name",
188-
align: "center",
189-
},
190-
{
191-
field: "date",
192-
key: "b",
193-
title: "Date",
194-
align: "left",
195-
},
196-
{
197-
field: "hobby",
198-
key: "c",
199-
title: "Hobby",
200-
align: "right",
201-
},
169+
{ field: "name", key: "a", title: "Name", align: "center" },
170+
{ field: "date", key: "b", title: "Date", align: "left" },
171+
{ field: "hobby", key: "c", title: "Hobby", align: "right" },
202172
{ field: "address", key: "d", title: "Address" },
203173
],
204174
tableData: [
@@ -241,4 +211,4 @@ new Vue({
241211
```
242212

243213
:::anchor 浏览器兼容
244-
默认支持现代浏览器和 IE10及以上
214+
默认支持现代浏览器和 IE10 及以上

0 commit comments

Comments
 (0)