Skip to content
New issue

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

懒加载的lazy属性及lazyFn方法有用吗?? #200

Open
YvoneQY opened this issue Jan 12, 2022 · 2 comments
Open

懒加载的lazy属性及lazyFn方法有用吗?? #200

YvoneQY opened this issue Jan 12, 2022 · 2 comments

Comments

@YvoneQY
Copy link

YvoneQY commented Jan 12, 2022

lazy属性及lazyFn方法有用吗??为何我数据不显示
<tree-transfer
lazy
@lazyfn="lazyLoad"
:title="title"
:from_data="fromData11"
node-key="id"
:to_data="toData11"
:defaultProps="{ label: 'label' }"
default-transfer
@add-btn="add"
@remove-btn="remove"
:mode="mode"
height="540px"
@left-check-change="changeLeft"
@right-check-change="changeRight"
>

@guaiyouyisi
Copy link

@lazyFn="lazyLoad"

lazyFn 是参数,不是事件,所以应该用 :lazyFn="lazyLoad"

@suansuan666
Copy link

为什么我使用懒加载时,点击第一层级不会触发lazyFn的函数呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants