diff --git a/src/components/SelectGoods/SelectGoods.vue b/src/components/SelectGoods/SelectGoods.vue index c90ca45..1cfff62 100644 --- a/src/components/SelectGoods/SelectGoods.vue +++ b/src/components/SelectGoods/SelectGoods.vue @@ -118,6 +118,7 @@ export default { onChange () { const { multiple, selectedGoodsIds } = this const sGoodsIds = multiple ? selectedGoodsIds : (selectedGoodsIds.length ? selectedGoodsIds[0] : undefined) + this.$emit('select', multiple ? this.selectedItems : this.selectedItems[0]) return this.$emit('change', sGoodsIds) }