docs: update table ajax demo

pull/165/head
tjz 2018-07-01 17:22:00 +08:00
parent e570fbef73
commit 981b089ed4
2 changed files with 2 additions and 2 deletions

View File

@ -259,7 +259,7 @@ describe('Table.filter', () => {
}) })
await asyncExpect(() => { await asyncExpect(() => {
$$('.ant-dropdown-menu-submenu-title')[1].dispatchEvent(new MouseEvent('mouseenter')) $$('.ant-dropdown-menu-submenu-title')[1].dispatchEvent(new MouseEvent('mouseenter'))
}, 500) }, 1000)
await asyncExpect(() => { await asyncExpect(() => {
const menuItem = $$('.ant-dropdown-menu-item') const menuItem = $$('.ant-dropdown-menu-item')
menuItem[menuItem.length - 1].click() menuItem[menuItem.length - 1].click()

View File

@ -14,7 +14,7 @@ This example shows how to fetch and present data from remote server, and how to
```html ```html
<template> <template>
<a-table :columns="columns" <a-table :columns="columns"
:rowKey="record => record.registered" :rowKey="record => record.login.uuid"
:dataSource="data" :dataSource="data"
:pagination="pagination" :pagination="pagination"
:loading="loading" :loading="loading"