react 中获取input输入框值的方法可以有两种,分别为:1、通过event对象 ... 获取input的值</button> inputChange(e){ alert(e.target.value) this.
確定! 回上一頁