From de922bebbac0e411f82d36aaabc81992fd5e0fc4 Mon Sep 17 00:00:00 2001 From: Amour1688 Date: Tue, 16 Jun 2020 23:59:02 +0800 Subject: [PATCH] chore: upgrade jsx to alpha.5 --- components/breadcrumb/Breadcrumb.jsx | 5 ++--- package.json | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/components/breadcrumb/Breadcrumb.jsx b/components/breadcrumb/Breadcrumb.jsx index 249a4d3c6..ce4ada19f 100644 --- a/components/breadcrumb/Breadcrumb.jsx +++ b/components/breadcrumb/Breadcrumb.jsx @@ -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 = ( {route.children.map(child => ( - + {itemRender({ route: child, params, @@ -86,7 +85,7 @@ export default { paths: this.addChildPath(paths, child.path, params), h: this.$createElement, })} - + ))} ); diff --git a/package.json b/package.json index 6209e0963..fb0e356c7 100644 --- a/package.json +++ b/package.json @@ -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",