Skip to content

Commit

Permalink
fix: expressions inside directive parsing incorrect
Browse files Browse the repository at this point in the history
close #1160
  • Loading branch information
johnsoncodehk committed Apr 10, 2022
1 parent 0a23947 commit 22165b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vue-code-gen/src/generators/template.ts
Expand Up @@ -1333,6 +1333,8 @@ export function generate(
vueTag: 'template',
capabilities: capabilitiesSet.all,
},
'(',
')',
);
writeFormatCode(
prop.exp.content,
Expand Down

0 comments on commit 22165b5

Please sign in to comment.