What is the meaning and principle of pseudo trigger in js?

< input type= "file" v show = "1" accept= "image" ref= "input" @ change= "fileChange ($event.target.files)" >
< span @ click= "$refs.input.click ()" class= "select-photo" > Select a picture

$refs.input.click()

is there an official explanation?

Mar.23,2021

The

principle is that using ref in
vue, you can get a click event of an element similar to a native getElementById; in js and triggered by element.click in js (provided that this element supports click events).

reference:
ref get element
https://cn.vuejs.org/v2/api/-sharpref
element.click()
https://developer.mozilla.org.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e48eec-44d09.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e48eec-44d09.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?