VUE event auto click

because other functions of uploading pictures have been realized, the headache now is the beautification of the type= "file" button.
the previous way is to hide the button and make a button you like. When the beautification button is clicked, it triggers the button of type= "file" to select files.

but vue doesn"t seem to be able to do this kind of operation. I"d like to ask you to answer

.
Mar.29,2021

make your actual button settings transparent and float in front of the beautification button


can also be modified,
you can consider introducing a three-party upload control.


two methods. One is to set transparency to the button. One is to click on the button you beautify to execute your input event document.querySelector ('input'). Click ()

Menu