Merge branch 'feat-vue3' of github.com:vueComponent/ant-design-vue into feat-vue3
commit
a0c08a599a
|
@ -169,11 +169,10 @@ const Menu = {
|
|||
onSelect: this.onSelect,
|
||||
ref: 'innerMenu',
|
||||
};
|
||||
return (
|
||||
<Provider store={this.store}>
|
||||
<SubPopupMenu {...subPopupMenuProps} />
|
||||
</Provider>
|
||||
);
|
||||
|
||||
const subPopupMenu = <SubPopupMenu {...subPopupMenuProps} />;
|
||||
return <Provider store={this.store}>{subPopupMenu}</Provider>;
|
||||
},
|
||||
};
|
||||
|
||||
export default Menu;
|
||||
|
|
|
@ -46,7 +46,7 @@ module.exports = {
|
|||
style: true,
|
||||
},
|
||||
],
|
||||
['@ant-design-vue/babel-plugin-jsx', { transformOn: true }],
|
||||
['@ant-design-vue/babel-plugin-jsx', { transformOn: true, usePatchFlag: true }],
|
||||
'@babel/plugin-proposal-optional-chaining',
|
||||
'@babel/plugin-transform-object-assign',
|
||||
'@babel/plugin-proposal-object-rest-spread',
|
||||
|
|
Loading…
Reference in New Issue