We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vue3 测试代码
<template> <div id="app"> <WaterFall :data="list" width="400px" gap="20px" :delay="false"> <template #default="item"> <div class="card"> {{ item }} </div> </template> </WaterFall> </div> </template> <script> import {ref} from "vue"; import WaterFall from 'kuan-vue-waterfall' export default { name: 'App', components: {WaterFall}, setup() { const list2 = ref([ {name: 'hello'} ]) function getNext() { console.log('get next...') list2.value.push({ name: 'time ' + new Date().getTime() }) } setTimeout(() => { getNext() }, 2000) return { list2, getNext } }, data() { return { list: [{name: 'name'}] } } } </script>
The text was updated successfully, but these errors were encountered:
我也遇到了这个问题,导致后面加载的数据,在item中拿不到,有解决方法吗
Sorry, something went wrong.
No branches or pull requests
vue3 测试代码
The text was updated successfully, but these errors were encountered: