Skip to content

🐛 [Bug]: treeSelect动态加载问题 #2287

@545702838

Description

@545702838

Version

latest

Vue Version

latest

Link to minimal reproduction

https://github.com/opentiny/tiny-vue

Step to reproduce

页面上使用treeSelect组件
image
在组件tree-op中,绑定数值

在ts中定义数值,如果直接定义数值,则可以直接在页面上显示,如下两幅图所示
image
image
但是如果定义是赋空,在后续onMounted中,给定义的数值赋值,则组件中无数据,无法动态加载
image
image
image

What is expected

显示动态加载的数据在下拉框中

What is actually happening

仅初次定义的数据可以被加载中树形结构中,后续的动态更新的并不能加载进入下拉列表

What is your project name

Emp

Any additional comments (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions