doc: update big-data demo

pull/5362/head
tangjinzhou 2022-03-18 20:54:53 +08:00
parent bc5928ec42
commit d1e2f4ff27
2 changed files with 2 additions and 2 deletions

View File

@ -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">
<!----> <!---->
<!----> <!---->

View File

@ -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,