var key = '表单的值(prop)'
var element = document.getElementById(key);
element.scrollIntoView({ block: "center", behavior: "smooth" });
var key = '表单的值(prop)'
var element = document.getElementById(key);
element.scrollIntoView({ block: "center", behavior: "smooth" });