在ant-design-vue@1.2.0中,我们引入了 svg 图标(为何使用 svg 图标?)。使用了字符串命名的图标 API 无法做到按需加载,因而全量引入了 svg 图标文件,这大大增加了打包产物的尺寸。在 2.0 中,我们调整了图标的使用 API 从而支持 tree shaking,减少默认包体积约 150 KB(Gzipped)。 旧版Icon 使用方式将被
Ant Design has 3 types of Tabs for different situations. Card Tabs: for managing too many closeable views. Normal Tabs: for functional aspects of a page. RadioButton: for secondary tabs. TS Disabled Disabled a tab. TS TS The Tab with Icon. ...
Inant-design-vue@1.2.0, we introduced the svg icon (Why use the svg icon?). The icon API that uses string naming cannot be loaded on demand, so the svg icon file is fully introduced, which greatly increases the size of the packaged product. In 2.0, we adjusted the icon usage API ...
renderTabBar替换 TabBar,用于二次封装标签头{ DefaultTabBar } rightExtratab bar 上右侧额外的元素-- Tabs 事件# 事件名称说明回调参数 change切换面板的回调Function(activeKey) {} edit新增和删除页签的回调,在type="editable-card"时有效(action === 'add' ? event : targetKey, action): void ...
Ant Design Vue vue-helper对Ant Design Vue框架的提效主要集中在4个部分。 组件标签代码块生成 属性提示 属性值提示 文档查看及框架官网访问 目前插件支持 Ant Design Vue 组件标签的所有68个组件,总计288个代码块缩写。 1、提效之组件代码块生成 ...
在ant-design-vue@1.2.0中,我们引入了 svg 图标(为何使用 svg 图标?)。使用了字符串命名的图标 API 无法做到按需加载,因而全量引入了 svg 图标文件,这大大增加了打包产物的尺寸。在 2.0 中,我们调整了图标的使用 API 从而支持 tree shaking,减少默认包体积约 150 KB(Gzipped)。
vueComponent/ant-design-vuePublic Sponsor NotificationsYou must be signed in to change notification settings Fork3.8k Star20.8k New issue Closed Description PanStar PanStar mentioned thison Apr 26, 2020 tangjinzhou closed this ascompletedinfd28043on Apr 27, 2020...
AntDesign VUE3.0 DEMO 发布 https://2x.antdv.com/docs/vue/migration-v2-cn/ 虽然是Demo版本,文档上之前1.x 版本的功能2.0版本没有写,不确定是不是可以直接使用1.x 的API 1、设计规范调整 行高从 1.5(21px) 调整为 1.5715(22px)。 基础圆角调整,由4px 改为 2px。
🌟 Tab 组件增加 renderTabBar 属性。 🌟 Input 组件增加 select 方法。 🌟 Steps 增加 initial 属性。 🌟 Upload 组件新增 openFileDialogOnClick 属性,用于设置点击组件时是否打开上传对话框。 🌟 InputNumber 组件新增 decimalSeparator 属性,用于设置自定义的小数点。 🐞 修复众多隐蔽暂未提 issue 的 bug...
In order to use the slot more friendly in template syntax, all related to xxxRender, renderXxxx are changed to single parameter, involving itemRender, renderItem, customRender, dropdownRender, dateCellRender, dateFullCellRender, monthCellRender, monthFullCellRender, renderTabBar. All the places whe...