From da863d3df2ce3d96f72ba94237bb5cc3ae8c9a25 Mon Sep 17 00:00:00 2001 From: vben Date: Sun, 1 Nov 2020 23:44:23 +0800 Subject: [PATCH] chore: bump deps --- CHANGELOG.zh_CN.md | 2 ++ package.json | 2 +- src/setup/ant-design-vue/index.ts | 7 ++----- src/views/demo/comp/drawer/Drawer4.vue | 2 +- yarn.lock | 8 ++++---- 5 files changed, 10 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.zh_CN.md b/CHANGELOG.zh_CN.md index 87623d300..a20251231 100644 --- a/CHANGELOG.zh_CN.md +++ b/CHANGELOG.zh_CN.md @@ -11,7 +11,9 @@ ### ⚡ Performance Improvements +- 更新`ant-design-vue`到`beta.12` - Layout 界面布局样式调整 +- 优化懒加载组件 - 优化表格渲染性能 - 表单折叠搜索添图标添加动画 - routeModule 可以忽略 layout 配置不写。方便配置一级菜单 diff --git a/package.json b/package.json index b72375a9a..04fb4b79e 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ }, "dependencies": { "@iconify/iconify": "^2.0.0-rc.1", - "ant-design-vue": "^2.0.0-beta.11", + "ant-design-vue": "^2.0.0-beta.12", "apexcharts": "^3.22.0", "axios": "^0.21.0", "echarts": "^4.9.0", diff --git a/src/setup/ant-design-vue/index.ts b/src/setup/ant-design-vue/index.ts index 052121001..f8200f1b0 100644 --- a/src/setup/ant-design-vue/index.ts +++ b/src/setup/ant-design-vue/index.ts @@ -8,9 +8,6 @@ import 'ant-design-vue/dist/antd.less'; import './spin'; export function setupAntd(app: App) { - // 这两个组件在登录也就用。全局注册 - app.use(Form); - app.use(Input); - app.use(Row); - app.use(Col); + // Here are the components required before registering and logging in + app.use(Form).use(Input).use(Row).use(Col); } diff --git a/src/views/demo/comp/drawer/Drawer4.vue b/src/views/demo/comp/drawer/Drawer4.vue index 12eaff718..f6514d90f 100644 --- a/src/views/demo/comp/drawer/Drawer4.vue +++ b/src/views/demo/comp/drawer/Drawer4.vue @@ -1,6 +1,6 @@