Skip to content

使用浏览器引入方式使用antd,树形控件展示的层级与使用yarn安装的不一致 #877

@wanyukang

Description

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

Version

1.3.10

Environment

mac, chrome, vue@2.5.17, moment@2.22.1

Reproduction link

https://vue.ant.design/components/tree-cn/

Steps to reproduce

  1. 使用浏览器引入方式使用antd
  2. 使用树形控件

What is expected?

在代码和数据一致的情况下,展示的层级与yarn安装的一致
https://codesandbox.io/s/vue-antd-template-zynkd

What is actually happening?

使用浏览器引入方式表现不一致
https://codepen.io/anon/pen/rELJmR?editors=1000

PS: 目前这个项目有点特殊,重构之前只能用浏览器引入

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions