Skip to content

Commit

Permalink
fix: style attr should be be string type
Browse files Browse the repository at this point in the history
close #1781
  • Loading branch information
johnsoncodehk committed Aug 30, 2022
1 parent 5015fd7 commit 0ed90e2
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 @@ -1024,7 +1024,7 @@ export function generate(
}
}
else {
tsCodeGen.addText('""');
tsCodeGen.addText('{}');
}
writePropValueSuffix(isStatic);
tsCodeGen.addMapping2({
Expand Down

0 comments on commit 0ed90e2

Please sign in to comment.