element
element copied to clipboard
[Bug Report] about lodash : el.mask is not a function
Element UI version
2.15.11
OS/Browsers version
window10 / chrome111.0.5563.146
Vue version
2.7.14
Reproduction Link
https://codepen.io/CargoXu/pen/mdGNoor?editors=1111
Steps to reproduce
When my project originally introduced lodash, after introducing element again, the original_ () Method is rewritten;
- import lodash or your project has own window._() = function(){...}
- and you can import element-ui(2.15.11-2.15.13)
- and you will find that the _() is rewritten
What is Expected?
Before version 2.15.10, lodash was not introduced ; expect: _() is not rewritten in console panel: will print '_方法' and print '111'
What is actually happening?
_() is rewritten in console panel: only print '111'
please focus https://github.com/ElemeFE/element/pull/22483
2.15.14 also had the same problem