Skip to content

Commit cbc24ae

Browse files
committed
Fix file path in getFileName function
1 parent e2771fa commit cbc24ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/HomeView.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ onMounted(() => {
99
})
1010
1111
const getFileName = (path: string) => {
12-
return path.replace('/imgs/', '')
12+
return path.replace('./imgs/', '')
1313
}
1414
</script>
1515

0 commit comments

Comments
 (0)