js gets the value of type="password"

1. Directly find the element and change the type to text
Insert picture description here
2. Direct the front-end control input
document.getElementsByClassName("el-input__inner")[0].value
I am class here, you can also find it by id or name
Insert picture description here

3. Directly submit the request to check in the parameters
Insert picture description here

Guess you like

Origin blog.csdn.net/q1923408717/article/details/115229144