Skip to content

Commit 981b089

Browse files
committed
docs: update table ajax demo
1 parent e570fbe commit 981b089

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/table/__tests__/Table.filter.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ describe('Table.filter', () => {
259259
})
260260
await asyncExpect(() => {
261261
$$('.ant-dropdown-menu-submenu-title')[1].dispatchEvent(new MouseEvent('mouseenter'))
262-
}, 500)
262+
}, 1000)
263263
await asyncExpect(() => {
264264
const menuItem = $$('.ant-dropdown-menu-item')
265265
menuItem[menuItem.length - 1].click()

components/table/demo/ajax.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This example shows how to fetch and present data from remote server, and how to
1414
```html
1515
<template>
1616
<a-table :columns="columns"
17-
:rowKey="record => record.registered"
17+
:rowKey="record => record.login.uuid"
1818
:dataSource="data"
1919
:pagination="pagination"
2020
:loading="loading"

0 commit comments

Comments
 (0)