Skip to content

级联选择器a-cascader,异步加载数据lodata没有反应,请问怎么解决? #3581

@yu-aa

Description

@yu-aa
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.0.0-rc.8

Environment

vue2.0

Reproduction link

https://www.antdv.com/components/cascader-cn/#API

Steps to reproduce

方法:loadData(selectedOptions){
const targetOption = selectedOptions [selectedOptions.length-1];
console.log(targetOption,'targetOption ==')
},
打印日志没有反应:console.log(targetOption,'targetOption ==')

What is expected?

怎么使用:load-data="loadData"

What is actually happening?

能实际运用

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions