mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-03 19:58:09 +08:00
fix(utils): fix isIE logic (#1757)
This commit is contained in:
parent
1ab50ded03
commit
7380b8131c
@ -83,7 +83,7 @@ export const coerceTruthyValueToArray = arr => {
|
||||
}
|
||||
|
||||
export const isIE = function (): boolean {
|
||||
return !isServer && !isNaN(Number(document.DOCUMENT_NODE))
|
||||
return !isServer && !isNaN(Number(document.documentMode))
|
||||
}
|
||||
|
||||
export const isEdge = function (): boolean {
|
||||
|
Loading…
Reference in New Issue
Block a user