File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ import { parseHTML } from './html-parser'
5
5
import { parseText } from './text-parser'
6
6
import { parseFilters } from './filter-parser'
7
7
import { cached , no , camelize } from 'shared/util'
8
- import { isIE , isServerRendering } from 'core/util/env'
9
8
import { genAssignmentCode } from '../directives/model'
9
+ import { isIE , isEdge , isServerRendering } from 'core/util/env'
10
10
11
11
import {
12
12
addProp ,
@@ -533,7 +533,10 @@ function parseModifiers (name: string): Object | void {
533
533
function makeAttrsMap ( attrs : Array < Object > ) : Object {
534
534
const map = { }
535
535
for ( let i = 0 , l = attrs . length ; i < l ; i ++ ) {
536
- if ( process . env . NODE_ENV !== 'production' && map [ attrs [ i ] . name ] && ! isIE ) {
536
+ if (
537
+ process . env . NODE_ENV !== 'production' &&
538
+ map [ attrs [ i ] . name ] && ! isIE && ! isEdge
539
+ ) {
537
540
warn ( 'duplicate attribute: ' + attrs [ i ] . name )
538
541
}
539
542
map [ attrs [ i ] . name ] = attrs [ i ] . value
You can’t perform that action at this time.
0 commit comments