csjoz11

导航

VUE数字相加

hello(){
  console.log(this.form.total)
  console.log(this.form.commentThree)
  this.form.total = parseFloat(this.form.commentOne)
      + parseFloat(this.form.commentTwo)
<td><a-input @change="hello" v-model="form.commentThree"/></td>

posted on 2021-09-26 16:43  csjoz11  阅读(708)  评论(0编辑  收藏  举报