Skip to content

Commit 14baca9

Browse files
committed
fix vdispatch prefix
1 parent e9d1e95 commit 14baca9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snippets/vue-script.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,14 +263,14 @@
263263
"prefix": "vdispatch",
264264
"body": [
265265
"${1:actionName}() {",
266-
"\tthis.\\$store.dispatch('${1:actionName}', ${2:payload})",
266+
"\tthis.\\$store.dispatch('${1:actionName}', ${2:payload});",
267267
"}"
268268
],
269269
"description": "dispatch to vuex store in methods for action"
270270
},
271271
"Incrementer": {
272272
"prefix": "vinc",
273-
"body": ["return ${1:this.num} += ${2:1}"],
273+
"body": ["return ${1:this.num} += ${2:1};"],
274274
"description": "increment"
275275
},
276276
"Decrementer": {

0 commit comments

Comments
 (0)