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 (
7979 type: 1,
8080 tag,
8181 attrsList: attrs,
82- attrsMap: makeAttrsMap(attrs),
82+ attrsMap: makeAttrsMap(attrs, options.isIE ),
8383 parent: currentParent,
8484 children: []
8585 }
@@ -429,10 +429,10 @@ function parseModifiers (name: string): Object | void {
429429 }
430430}
431431
432- function makeAttrsMap (attrs: Array<Object>): Object {
432+ function makeAttrsMap (attrs: Array<Object>, isIE: ?boolean ): Object {
433433 const map = {}
434434 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 ) {
436436 warn('duplicate attribute: ' + attrs[i].name)
437437 }
438438 map[attrs[i].name] = attrs[i].value
You can’t perform that action at this time.
0 commit comments