mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(utils): fix isIE logic (#1757)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user