<button @click="changeImg"> </button>Copy the code

(the input style should not be display: none, but should be opacity: 0;) !!!!!!

The specific method here is to add a picture as an example