src/components/menu/menu.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/components/menu/menu.js
@@ -120,7 +120,7 @@ }, methods: { renderIcon: function (h, icon, key) { if (this.$scopedSlots.icon) { if (this.$scopedSlots.icon && icon && icon !== 'none') { return this.$scopedSlots.icon({icon, key}) } return !icon || icon == 'none' ? null : h(Icon, {props: {type: icon}})