Evan You 10 лет назад
Родитель
Сommit
df381a81e9
1 измененных файлов с 0 добавлено и 3 удалено
  1. 0 3
      src/compiler/compile-props.js

+ 0 - 3
src/compiler/compile-props.js

@@ -56,9 +56,6 @@ module.exports = function compileProps (el, propOptions) {
       el.removeAttribute(attr)
       var tokens = textParser.parse(value)
       if (tokens) {
-        if (el && el.nodeType === 1) {
-          el.removeAttribute(name)
-        }
         prop.dynamic = true
         prop.parentPath = textParser.tokensToExp(tokens)
         // check prop binding type.