我看到Input组件里有id这个props,取值是否可以用到这个id。。 回答. componentDidMount() { console.log(this.input.value); }
確定! 回上一頁