File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ export function parse (
79
79
type : 1 ,
80
80
tag,
81
81
attrsList : attrs ,
82
- attrsMap : makeAttrsMap ( attrs ) ,
82
+ attrsMap : makeAttrsMap ( attrs , options . isIE ) ,
83
83
parent : currentParent ,
84
84
children : [ ]
85
85
}
@@ -429,10 +429,10 @@ function parseModifiers (name: string): Object | void {
429
429
}
430
430
}
431
431
432
- function makeAttrsMap ( attrs : Array < Object > ) : Object {
432
+ function makeAttrsMap ( attrs : Array < Object > , isIE : ? boolean ) : Object {
433
433
const map = { }
434
434
for ( let i = 0 , l = attrs . length ; i < l ; i ++ ) {
435
- if ( process . env . NODE_ENV !== 'production' && map [ attrs [ i ] . name ] ) {
435
+ if ( process . env . NODE_ENV !== 'production' && map [ attrs [ i ] . name ] && ! isIE ) {
436
436
warn ( 'duplicate attribute: ' + attrs [ i ] . name )
437
437
}
438
438
map [ attrs [ i ] . name ] = attrs [ i ] . value
You can’t perform that action at this time.
0 commit comments