Skip to content

Commit c914bc0

Browse files
committed
fix: fix converting to camel case
1 parent b56bb60 commit c914bc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CIconRaw.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ export default {
8080
methods: {
8181
toCamelCase (str) {
8282
return str.replace(/([-_][a-z0-9])/ig, ($1) => {
83-
return $1.toUpperCase().replace('-', '')
84-
})
83+
return $1.toUpperCase()
84+
}).replace('-', '')
8585
}
8686
}
8787
}

0 commit comments

Comments
 (0)