parent
							
								
									adc6afb8fd
								
							
						
					
					
						commit
						efa477a3b0
					
				|  | @ -10,6 +10,23 @@ | |||
| 
 | ||||
| --- | ||||
| 
 | ||||
| ## 2.0.0-rc.6 | ||||
| 
 | ||||
| `2020-12-27` | ||||
| 
 | ||||
| - 🌟 Support Less 4 [#3449](https://github.com/vueComponent/ant-design-vue/issues/3449) | ||||
| - 🌟 Added Image component [#3235](https://github.com/vueComponent/ant-design-vue/issues/3235) | ||||
| - 🌟 Functional component, add displayName attribute [#3445](https://github.com/vueComponent/ant-design-vue/issues/3445) | ||||
| - 🐞 Message adds custom class style function [#3443](https://github.com/vueComponent/ant-design-vue/issues/3443) | ||||
| - 🐞 Fix the initial disabled state of the Tabs component does not take effect [#3366](https://github.com/vueComponent/ant-design-vue/issues/3366) | ||||
| - 🐞 Fix Slider accuracy issue [#3346](https://github.com/vueComponent/ant-design-vue/issues/3346) | ||||
| - 🐞 Fix the incorrect scroll height of Select [#3419](https://github.com/vueComponent/ant-design-vue/issues/3419) | ||||
| - 🐞 Fix the problem that Input small is too small and the height is 2px [#3396](https://github.com/vueComponent/ant-design-vue/issues/3396) | ||||
| - 🐞 Fix the problem that TreeSelect triggers two change events | ||||
| - 🐞 Fix the endless loop problem of TreeSelect defining title through slot | ||||
| - 🐞 Fix the problem that Drawer handle slot triggers two click events | ||||
| - 🌟 Added Checkbox and Switch event declaration | ||||
| 
 | ||||
| ## 2.0.0-rc.5 | ||||
| 
 | ||||
| `2020-12-13` | ||||
|  |  | |||
|  | @ -10,6 +10,23 @@ | |||
| 
 | ||||
| --- | ||||
| 
 | ||||
| ## 2.0.0-rc.6 | ||||
| 
 | ||||
| `2020-12-27` | ||||
| 
 | ||||
| - 🌟 支持 Less 4 [#3449](https://github.com/vueComponent/ant-design-vue/issues/3449) | ||||
| - 🌟 新增 Image 组件  [#3235](https://github.com/vueComponent/ant-design-vue/issues/3235) | ||||
| - 🌟 函数式组件,添加 displayName 属性 [#3445](https://github.com/vueComponent/ant-design-vue/issues/3445) | ||||
| - 🐞 Message 新增自定义 class style 功能 [#3443](https://github.com/vueComponent/ant-design-vue/issues/3443) | ||||
| - 🐞 修复 Tabs 组件初始 disabled 状态没生效 [#3366](https://github.com/vueComponent/ant-design-vue/issues/3366) | ||||
| - 🐞 修复 Slider 精准度问题 [#3346](https://github.com/vueComponent/ant-design-vue/issues/3346) | ||||
| - 🐞 修复 Select 滚动高度不正确问题 [#3419](https://github.com/vueComponent/ant-design-vue/issues/3419) | ||||
| - 🐞 修复 Input small 大小时,高度偏大 2px 问题 [#3396](https://github.com/vueComponent/ant-design-vue/issues/3396) | ||||
| - 🐞 修复 TreeSelect 触发两次 change 事件问题 | ||||
| - 🐞 修复 TreeSelect 通过 slot 定义 title 死循环问题 | ||||
| - 🐞 修复 Drawer handle slot 触发两次 click 事件问题 | ||||
| - 🌟 新增 Checkbox、Switch 事件声明 | ||||
| 
 | ||||
| ## 2.0.0-rc.5 | ||||
| 
 | ||||
| `2020-12-13` | ||||
|  |  | |||
|  | @ -1 +1 @@ | |||
| Subproject commit ea0def709e64f3d312ec46b2d5369542e2224628 | ||||
| Subproject commit ac98f90e5fe922fb787559eb81b06f39ed2c8a39 | ||||
|  | @ -0,0 +1,52 @@ | |||
| // Jest Snapshot v1, https://goo.gl/fbAQLP | ||||
| 
 | ||||
| exports[`renders ./antdv-demo/docs/image/demo/basic.md correctly 1`] = ` | ||||
| <div class="ant-image" style="width: 200px;"><img class="ant-image-img" src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"> | ||||
|   <!----> | ||||
|   <!----> | ||||
| </div> | ||||
| <!----> | ||||
| `; | ||||
| 
 | ||||
| exports[`renders ./antdv-demo/docs/image/demo/fallback.md correctly 1`] = ` | ||||
| <div class="ant-image" style="width: 200px; height: 200px;"><img class="ant-image-img" src="error"> | ||||
|   <!----> | ||||
|   <!----> | ||||
| </div> | ||||
| <!----> | ||||
| `; | ||||
| 
 | ||||
| exports[`renders ./antdv-demo/docs/image/demo/placeholder.md correctly 1`] = ` | ||||
| <div class="ant-space ant-space-horizontal ant-space-align-center"> | ||||
|   <div class="ant-space-item" style="margin-right: 12px;"> | ||||
|     <div class="ant-image" style="width: 200px;"><img class="ant-image-img" src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png?1479744000000"> | ||||
|       <div aria-hidden="true" class="ant-image-placeholder"> | ||||
|         <div class="ant-image" style="width: 200px;"><img class="ant-image-img" src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png?x-oss-process=image/blur,r_50,s_50/quality,q_1/resize,m_mfit,h_200,w_200"> | ||||
|           <!----> | ||||
|           <!----> | ||||
|         </div> | ||||
|         <!----> | ||||
|       </div> | ||||
|       <!----> | ||||
|     </div> | ||||
|     <!----> | ||||
|   </div> | ||||
|   <div class="ant-space-item"><button class="ant-btn ant-btn-primary" type="button"> | ||||
|       <!----><span>reload</span> | ||||
|     </button></div> | ||||
| </div> | ||||
| `; | ||||
| 
 | ||||
| exports[`renders ./antdv-demo/docs/image/demo/previewGroup.md correctly 1`] = ` | ||||
| <div class="ant-image" style="width: 200px;"><img class="ant-image-img" src="https://qn.antdv.com/vue.png"> | ||||
|   <!----> | ||||
|   <!----> | ||||
| </div> | ||||
| <!----> | ||||
| <div class="ant-image" style="width: 200px;"><img class="ant-image-img" src="https://qn.antdv.com/logo.png"> | ||||
|   <!----> | ||||
|   <!----> | ||||
| </div> | ||||
| <!----> | ||||
| <!----> | ||||
| `; | ||||
|  | @ -61,9 +61,9 @@ const generateId = (() => { | |||
| 
 | ||||
| export default defineComponent({ | ||||
|   name: 'ALayoutSider', | ||||
|   mixins: [BaseMixin], | ||||
|   inheritAttrs: false, | ||||
|   __ANT_LAYOUT_SIDER: true, | ||||
|   mixins: [BaseMixin], | ||||
|   props: initDefaultProps(SiderProps, { | ||||
|     collapsible: false, | ||||
|     defaultCollapsed: false, | ||||
|  |  | |||
|  | @ -26,7 +26,7 @@ const Switch = defineComponent({ | |||
|     loading: PropTypes.looseBool, | ||||
|     change: PropTypes.func, | ||||
|     click: PropTypes.func, | ||||
|     'onUpdate:checked': PropTypes.func | ||||
|     'onUpdate:checked': PropTypes.func, | ||||
|   }, | ||||
|   emits: ['change', 'click', 'update:checked'], | ||||
|   setup() { | ||||
|  |  | |||
|  | @ -15,7 +15,7 @@ import { | |||
|   isNumeric, | ||||
| } from './utils'; | ||||
| import supportsPassive from '../../_util/supportsPassive'; | ||||
| import { cloneElement } from 'ant-design-vue/es/_util/vnode'; | ||||
| import { cloneElement } from '../../_util/vnode'; | ||||
| 
 | ||||
| function noop() {} | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| { | ||||
|   "name": "ant-design-vue", | ||||
|   "version": "2.0.0-rc.5", | ||||
|   "version": "2.0.0-rc.6", | ||||
|   "title": "Ant Design Vue", | ||||
|   "description": "An enterprise-class UI design language and Vue-based implementation", | ||||
|   "keywords": [ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 tangjinzhou
						tangjinzhou