Skip to content

Commit

Permalink
Set style property to "" instead of to undefined (#1755)
Browse files Browse the repository at this point in the history
  • Loading branch information
2-5 committed Aug 26, 2022
1 parent 2ca8fd3 commit af9b2ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue-language-core/src/generators/template.ts
Expand Up @@ -975,7 +975,7 @@ export function generate(
}
}
else {
tsCodeGen.addText('undefined');
tsCodeGen.addText('""');
}
writePropValueSuffix(isStatic);
tsCodeGen.addMapping2({
Expand Down

0 comments on commit af9b2ca

Please sign in to comment.