docs: update table ajax demo
parent
e570fbef73
commit
981b089ed4
|
@ -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()
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue