我们先来看看HTML: ... if (!this.age) { this.errors.push('Age required.'); } e.preventDefault(); } } }) ... 我们来看HTML,尽管它和第一个例子很接近。
確定! 回上一頁