ElemeFE / ElemeFE/element

[Bug Report] date-picker placement is prop,but use as data

Open
#21,978 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.9

### OS/Browsers version
chrome86.0.4240.198

### Vue version
2.6.14

### Reproduction Link
https://jsfiddle.net/osxcn/apogf8d5/3/

### Steps to reproduce
when use el-date-picker, in Console, you can find this bug.
at `packages\date-picker\src\picker.vue` line 101, 5 weeks ago, `XivLaw` add the prop 'placement', but 'placement' using at line 583 as a data.

![image](https://user-images.githubusercontent.com/30149650/177729159-c79abb67-000d-4b77-9580-63394eab3d98.png)

### What is Expected?
fix this bug

### What is actually happening?
in Console, Vue warn:
![image](https://user-images.githubusercontent.com/30149650/177729745-cecc14fa-e1c0-4e4f-81aa-cd94f9a3b2aa.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.