參數(shù)數(shù)量為什么不一致
老師您好,子組件中有這樣一段代碼
this.$emit('select', this.formatValue(), this.column, this.value,
? ? ? ? ? ? ? ? function (_value) {
? ? ? ? ? ? ? ? ? ? console.log('_value', _value)
? ? ? ? ? ? ? ? _calendar.value = [_value[0], _calendar.zeroPadTime(_value[1], 12),
? ? ? ? ? ? ? ? _calendar.zeroPadTime(_value[2], 31), _calendar.zeroPadTime(_value[3], 23),
? ? ? ? ? ? ? ? _calendar.zeroPadTime(_value[4], 59), _calendar.zeroPadTime(_value[5], 59)];
? ? ? ? ? ? }
? ? ? ? ? ? );
但是在父組件中需要執(zhí)行的函數(shù)只需要兩個參數(shù),這是為什么?這個項(xiàng)目的地址是https://gitee.com/iracer/vue.calendar/blob/master/index2.html