Skip to content

Commit

Permalink
Fix file path in getFileName function
Browse files Browse the repository at this point in the history
  • Loading branch information
hello8693 committed Oct 7, 2024
1 parent e2771fa commit cbc24ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ onMounted(() => {
})
const getFileName = (path: string) => {
return path.replace('/imgs/', '')
return path.replace('./imgs/', '')
}
</script>

Expand Down

0 comments on commit cbc24ae

Please sign in to comment.