ElemeFE / ElemeFE/element

[Bug Report] about lodash : el.mask is not a function

Open
#22,474 2 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.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;
1. import lodash or your project has own window._() = function(){...}
2. and you can import element-ui(2.15.11-2.15.13)
3. 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'

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.