Skip to content

Commit 9e2e27f

Browse files
committed
示例完善
1 parent d9580a0 commit 9e2e27f

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

examples/src/comp/locale/index.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ export default {
5151
value: 150000,
5252
label: "150,000 行",
5353
},
54-
{
55-
value: 300000,
56-
label: "300,000 行",
57-
},
5854
],
5955
dataRows: "数据量:",
6056
theme: "暗黑主题:",
@@ -113,10 +109,6 @@ export default {
113109
value: 150000,
114110
label: "150,000 Rows",
115111
},
116-
{
117-
value: 300000,
118-
label: "300,000 Rows",
119-
},
120112
],
121113
dataRows: "Data Rows:",
122114
theme: "Dark Theme:",

examples/src/demo/index.vue

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,6 @@
8888
</el-row>
8989
</div> -->
9090
</div>
91-
<button @click="scroll(300000)">30w</button>
92-
&nbsp;
93-
<button @click="scroll(1000000)">100w</button>
94-
&nbsp;
95-
<button @click="scroll(3000000)">300w</button>
9691
<ve-table
9792
id="demo-loading-container"
9893
ref="tableRef"
@@ -494,10 +489,6 @@ export default {
494489
this.$refs["tableRef"].scrollTo({ top: 0 });
495490
},
496491
497-
scroll(top) {
498-
this.$refs["tableRef"].scrollTo({ top: top, behavior: "smooth" });
499-
},
500-
501492
//
502493
filter() {
503494
const values = this.filterConditions;

0 commit comments

Comments
 (0)