doc: update big-data demo
parent
bc5928ec42
commit
d1e2f4ff27
|
@ -93,7 +93,7 @@ exports[`renders ./components/select/demo/basic.vue correctly 1`] = `
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/select/demo/big-data.vue correctly 1`] = `
|
exports[`renders ./components/select/demo/big-data.vue correctly 1`] = `
|
||||||
<h2>10000 Items</h2>
|
<h2>100000 Items</h2>
|
||||||
<div style="width: 100%;" class="ant-select ant-select-multiple ant-select-show-search">
|
<div style="width: 100%;" class="ant-select ant-select-multiple ant-select-show-search">
|
||||||
<!---->
|
<!---->
|
||||||
<!---->
|
<!---->
|
||||||
|
|
|
@ -29,7 +29,7 @@ Select use virtual scroll which get better performance than 1.x
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, reactive } from 'vue';
|
import { defineComponent, reactive } from 'vue';
|
||||||
const options: { value: string; disabled: boolean }[] = [];
|
const options: { value: string; disabled: boolean }[] = [];
|
||||||
for (let i = 0; i < 10000; i++) {
|
for (let i = 0; i < 100000; i++) {
|
||||||
const value = `${i.toString(36)}${i}`;
|
const value = `${i.toString(36)}${i}`;
|
||||||
options.push({
|
options.push({
|
||||||
value,
|
value,
|
||||||
|
|
Loading…
Reference in New Issue