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

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

watch: {
    'tFill.otherDescArr': function (newVal, oldVal) {
      this.tFill.otherDesc = this.tFill.otherDescArr.join(',')
    }
  },
原文地址:https://www.cnblogs.com/pengchenggang/p/10593777.html