vue-picker icon indicating copy to clipboard operation
vue-picker copied to clipboard

change 建议将index传出来,column最多4列建议改为5列datetime的时候不够了

Open zhangyao22 opened this issue 5 years ago • 1 comments

change (index, res) { this.result[index] = res this.$emit('change', index, this.result) },

zhangyao22 avatar Sep 05 '20 08:09 zhangyao22

确实传出来比较好,甚至只需要传index出来就够了 修改list.vue:

change () {
        this.$emit('change', {
          _index:this.selectIndex,
          ...this.column[this.selectIndex]
        } )
      }

tabooc avatar Sep 29 '21 09:09 tabooc