the data obtained by textarea in vue is passed to the backend. When I get the details, I use the API to get the data I passed in earlier.
but the data I got is put in the tag, the / n newline character is not recognized, and it is still displayed in plain text
Printing to the console is normal with line feeds, but it is not available on the page. The effect is shown in figure
.
v-html
console.log(data.job_description)
they all change lines normally, so ask for advice on why.