Skip to content

Commit df381a8

Browse files
committed
remove unnecessary code
1 parent 29eba77 commit df381a8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/compiler/compile-props.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ module.exports = function compileProps (el, propOptions) {
5656
el.removeAttribute(attr)
5757
var tokens = textParser.parse(value)
5858
if (tokens) {
59-
if (el && el.nodeType === 1) {
60-
el.removeAttribute(name)
61-
}
6259
prop.dynamic = true
6360
prop.parentPath = textParser.tokensToExp(tokens)
6461
// check prop binding type.

0 commit comments

Comments
 (0)