Ui
I feel that this method is too stupid. Is there any better way?
before I put these pictures directly in the static directory, and then write operations in js, the amount of code is very small.
Image(key){//
return `../../static/img/RiskAssessment${key+1}.png`
}
but after the package comes out, the path of the picture is all wrong. Is there any good way to do it
?