element-plus [BUG] [date-picker] 【bug】DatePicker 日期选择器 type为dates 设置 shortcuts 点击对应按钮报错

jfgube3f  于 2个月前  发布在  其他
关注(0)|答案(3)|浏览(40)

Bug Type: Component

Environment

  • Vue Version: 3.2.47
  • Element Plus Version: 2.3.1
  • Browser / OS: user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
  • Build Tool: Vite

Reproduction

  • el-date-picker

Element Plus Playground

Steps to reproduce

el-date-picker type="dates"!!!多选!!! 设置shortcuts 然后点击对应按钮

What is Expected?

期望是可以自动选择对应的日期。

What is actually happening?

实际上报错 map is not a function

Additional comments

(empty)

k10s72fa

k10s72fa2#

Hi! Is this going to be merged? Really apreciated.

ssm49v7z

ssm49v7z3#

已经一年多了,还没修复?

相关问题