How does the vue project get the files in the local folder

We have a requirement, that is, under the vue project, I know the absolute path of a certain image file, such as D:/course/109/test.jpg . How can I read this file and display it on the web page? If you use it directly, it will be prefixed, such as localhost:8080/D:/course/109/test.jpg , so how do you get this picture

Jan.10,2022

it is not feasible to directly take the local path outside the project. It will report an error Not allowed to load local resource , even if you use the a tag, this is for security reasons .
so there is no solution to this problem, and some transformations need to be made, for example,
1 put the picture file in the project's static directory
2 put the picture on the cloud platform

Menu