S
S
SPART4K2021-03-31 22:59:46
JavaScript
SPART4K, 2021-03-31 22:59:46

How do I return path to img from vue js object?

Greetings.
I need to dynamically change the path in the picture.
There is this design:
6064d478f15c7049738100.png
6064d4db45869741610823.png

But it does not work, tell me how to do it right, I did not find the necessary information.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2021-03-31
@SPART4K

First of all, what the hell is the code for the picture?
Secondly, you need to:<img v-if="value.image" :src="value.image" />

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question