chore: use variable instead of literal
This commit is contained in:
parent
e3f5dcb99b
commit
6fbf0dd315
@ -34,7 +34,7 @@ export function patchDOMProp(
|
|||||||
el.value = newValue
|
el.value = newValue
|
||||||
}
|
}
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
el.removeAttribute('value')
|
el.removeAttribute(key)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user