vue 数组对接字符串 传值时候,join(',') 一下 watch

watch: {
    'tFill.otherDescArr': function (newVal, oldVal) {
      this.tFill.otherDesc = this.tFill.otherDescArr.join(',')
    }
  },

 

相关文章:

  • 2021-10-10
  • 2022-12-23
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
  • 2021-05-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-30
  • 2022-12-23
  • 2021-10-18
  • 2021-11-09
  • 2022-12-23
相关资源
相似解决方案