ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.13k stars 14.64k forks source link

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

Open osxcn opened 2 years ago

osxcn commented 2 years ago

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

What is Expected?

fix this bug

What is actually happening?

in Console, Vue warn: image

osxcn commented 2 years ago

@XivLaw

XivLaw commented 2 years ago

21908 fix this problem

regon-cao commented 2 years ago

element-ui:2.15.9
the error occurs again. image

admin8756 commented 2 years ago

So. Is there no problem in the element-ui:2.15.8?

osxcn commented 2 years ago

So. Is there no problem in the element-ui:2.15.8?

yes, the bug is in 6/2/2022, but the 2.15.8 version release at 4/13/2022

admin8756 commented 2 years ago

But here I am. That's not the truth. It has the same mistake.

I have deleted yarn,lock file and node_ modules directory

Before I see your issues. I always thought that reporting mistakes was my own problem.

image

osxcn commented 2 years ago

But here I am. That's not the truth. It has the same mistake.

I have deleted yarn,lock file and node_ modules directory

Before I see your issues. I always thought that reporting mistakes was my own problem.

image

I tried to use version 2.15.8, but found no problem image

admin8756 commented 2 years ago

But here I am. That's not the truth. It has the same mistake. I have deleted yarn,lock file and node_ modules directory Before I see your issues. I always thought that reporting mistakes was my own problem. image

I tried to use version 2.15.8, but found no problem image

ok , After I tried to run yarn cache clean, everything was normal. Thank you~