chore: use variable instead of literal

This commit is contained in:
Evan You 2021-05-28 15:56:07 -04:00
parent e3f5dcb99b
commit 6fbf0dd315

View File

@ -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
} }