Skip to content

Commit e0a613a

Browse files
committed
only remove dynamic paramAttribute bindings
1 parent 5de9f14 commit e0a613a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compile/compile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,13 +288,13 @@ function compileParamAttributes (el, attrs, options) {
288288
name = attrs[i]
289289
value = el.getAttribute(name)
290290
if (value !== null) {
291-
el.removeAttribute(name)
292291
param = {
293292
name: name,
294293
value: value
295294
}
296295
var tokens = textParser.parse(value)
297296
if (tokens) {
297+
el.removeAttribute(name)
298298
if (tokens.length > 1) {
299299
_.warn(
300300
'Invalid param attribute binding: "' +

0 commit comments

Comments
 (0)