chore: upgrade jsx to alpha.5

pull/2468/head
Amour1688 5 years ago
parent 4311c15755
commit de922bebba

@ -6,7 +6,6 @@ import { ConfigConsumerProps } from '../config-provider';
import BreadcrumbItem from './BreadcrumbItem';
import Menu from '../menu';
const MenuItem = Menu.Item;
const Route = PropTypes.shape({
path: PropTypes.string,
breadcrumbName: PropTypes.string,
@ -78,7 +77,7 @@ export default {
overlay = (
<Menu>
{route.children.map(child => (
<MenuItem key={child.breadcrumbName || child.path}>
<Menu.Item key={child.breadcrumbName || child.path}>
{itemRender({
route: child,
params,
@ -86,7 +85,7 @@ export default {
paths: this.addChildPath(paths, child.path, params),
h: this.$createElement,
})}
</MenuItem>
</Menu.Item>
))}
</Menu>
);

@ -58,7 +58,7 @@
"vue-template-compiler": ">=2.6.0"
},
"devDependencies": {
"@ant-design-vue/babel-plugin-jsx": "^1.0.0-alpha.3",
"@ant-design-vue/babel-plugin-jsx": "^1.0.0-alpha.5",
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"@babel/runtime": "^7.10.1",

Loading…
Cancel
Save