element-plus [Component] [tree-select] el-tree-select 控件在 __VUE_OPTIONS_API__ 选项为 false 时无法工作

qvk1mo1f  于 2个月前  发布在  其他
关注(0)|答案(1)|浏览(25)

Bug Type: Component

Environment

  • Vue Version: 3.3.4
  • Element Plus Version: 2.3.7
  • Browser / OS: Chrome 114.0.5735.134
  • Build Tool: Vite

Reproduction

  • el-tree-select

Element Plus Playground

Steps to reproduce

配置 vite.config.js 中

define: {
  __VUE_OPTIONS_API__: false
}

What is Expected?

el-tree-select 控件可用

What is actually happening?

el-tree-select 控件不可能, 始终无法显示 :props={ lable: "label" } 中的 label 属性

Additional comments

要配置 vite.config.js 中

define: {
  __VUE_OPTIONS_API__: false
}

才能复现这个问题

h43kikqp

h43kikqp1#

At present, some controls have not been converted to setup syntax, including tree-select.
#6114

相关问题