diff --git a/components/icon/index.js b/components/icon/index.js index 6f527b491..31e4ec37a 100644 --- a/components/icon/index.js +++ b/components/icon/index.js @@ -123,8 +123,9 @@ const Icon = { /> ) } + // functional component not support nativeOn,https://github.com/vuejs/vue/issues/7526 const iProps = { - ...data, on: listeners, class: classString, staticClass: '', + ...data, on: { ...listeners, ...data.nativeOn }, class: classString, staticClass: '', } return (