docs: udpate demo
parent
dcefca22a4
commit
eba3547c4b
|
@ -71,7 +71,7 @@ export default {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.getData((res) => {
|
this.fetchData((res) => {
|
||||||
this.data = data.concat(res.results)
|
this.data = data.concat(res.results)
|
||||||
this.loading = false
|
this.loading = false
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
<script>
|
|
||||||
import List from '..'
|
|
||||||
export default {
|
|
||||||
render () {
|
|
||||||
return <List dataSource={[]} renderItem={() => <List.Item />} />
|
|
||||||
},
|
|
||||||
}
|
|
||||||
</script>
|
|
|
@ -3,7 +3,6 @@ import Basic from './basic.md'
|
||||||
import Search from './search.md'
|
import Search from './search.md'
|
||||||
import Advanced from './advanced.md'
|
import Advanced from './advanced.md'
|
||||||
import CustomItem from './custom-item.md'
|
import CustomItem from './custom-item.md'
|
||||||
import LargeData from './large-data.md'
|
|
||||||
import CN from '../index.zh-CN.md'
|
import CN from '../index.zh-CN.md'
|
||||||
import US from '../index.en-US.md'
|
import US from '../index.en-US.md'
|
||||||
|
|
||||||
|
@ -49,7 +48,6 @@ export default {
|
||||||
<Search />
|
<Search />
|
||||||
<Advanced />
|
<Advanced />
|
||||||
<CustomItem />
|
<CustomItem />
|
||||||
<LargeData />
|
|
||||||
<api>
|
<api>
|
||||||
<template slot='cn'>
|
<template slot='cn'>
|
||||||
<CN/>
|
<CN/>
|
||||||
|
|
Loading…
Reference in New Issue