Skip to content

Commit 04f400f

Browse files
committed
remove quotation marks in the key of data
1 parent 4ecd84c commit 04f400f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/right-sidebar/CodeSnippet.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ export default {
239239
data += " data() {\n return {\n"
240240
htmlBinding.forEach(el => {
241241
if (el.binding !== '') {
242-
data += ` "${el.binding}": "PLACEHOLDER FOR VALUE", `
242+
data += ` ${el.binding}: "PLACEHOLDER FOR VALUE", `
243243
data += '\n'
244244
}
245245
})

0 commit comments

Comments
 (0)