mirror of https://github.com/ElemeFE/element
Chore: Relase 2.9.2 (#16181)
parent
a6b2ce9e92
commit
d010f0e85c
|
@ -1,6 +1,15 @@
|
|||
## Changelog
|
||||
|
||||
## 2.9.1
|
||||
### 2.9.2
|
||||
|
||||
*2019-06-21*
|
||||
|
||||
#### Bug fixes
|
||||
|
||||
- Chore
|
||||
- Fix TS definitions file (#15805 by @NateScarlet)
|
||||
|
||||
### 2.9.1
|
||||
|
||||
*2019-05-30*
|
||||
|
||||
|
@ -32,7 +41,7 @@
|
|||
- PageHeader
|
||||
- Add PageHeader component (#15714 by @ziyoung)
|
||||
- InfiniteScroll
|
||||
- Add InfiniteScroll directive (#15567 by @iamkun)
|
||||
- Add InfiniteScroll directive (#15567 by @iamkun)
|
||||
- Cascader
|
||||
- Add multiple mode and filter-method (#15611 by @SimonaliaChen)
|
||||
- Message
|
||||
|
@ -46,7 +55,7 @@
|
|||
- Image
|
||||
- Add support for transmit attrs and listeners (#15578 by @VanMess)
|
||||
- Theme
|
||||
- Add popup background (#15412 by @iamkun)
|
||||
- Add popup background (#15412 by @iamkun)
|
||||
- Chore
|
||||
- Update new 2.9.0 index page (#15682 by @iamkun)
|
||||
|
||||
|
@ -57,7 +66,7 @@
|
|||
- Image
|
||||
- Fix ssr and object-fit compatibility (#15346 by @SimonaliaChen)
|
||||
- Input
|
||||
- Fix show-word-count style in el-form (#15359 by @lvjiaxuan)
|
||||
- Fix show-word-count style in el-form (#15359 by @lvjiaxuan)
|
||||
- Fix clear icon is not centered (#15354 by @YiiGuxing)
|
||||
- Calendar
|
||||
- Fix not correct day of week when the day is Sunday (#15399 by @qingdengyue)
|
||||
|
@ -73,7 +82,7 @@
|
|||
- Fix custom tabindex not work (#15619 by @SimonaliaChen )
|
||||
- Link
|
||||
- Fix link icon style class (#15752 by @iamkun)
|
||||
- Select
|
||||
- Select
|
||||
- Revert set value to null when cleared (#15447 by @iamkun)
|
||||
- Loading
|
||||
- Fix dom not change when loading state change quickly (#15123 by @FAKER-A)
|
||||
|
@ -102,7 +111,7 @@
|
|||
- Rename variable in docs (#15185 by @liupl)
|
||||
- Fix image attribute type and default value (#15423 by @haoranyu)
|
||||
- Fix form doc bug (#15228 by @SHERlocked93)
|
||||
|
||||
|
||||
### 2.8.2
|
||||
|
||||
*2019-04-25*
|
||||
|
@ -245,7 +254,7 @@ Docs
|
|||
|
||||
- Form
|
||||
- Fix auto `label-width` style (#14955 by @ziyoung)
|
||||
|
||||
|
||||
#### Optimization
|
||||
- Docs
|
||||
- Fix doc img link error (#14957 by @iamkun)
|
||||
|
@ -268,7 +277,7 @@ Docs
|
|||
- Background color can be configured (#14939 by @ziyoung)
|
||||
- Form
|
||||
- `label-width` supports auto width (#14944 by @ziyoung)
|
||||
|
||||
|
||||
#### Optimization
|
||||
- Docs
|
||||
- Update Spanish docs (#14913 by @Gonzalo2310)
|
||||
|
|
|
@ -1,6 +1,15 @@
|
|||
## Changelog
|
||||
|
||||
## 2.9.1
|
||||
### 2.9.2
|
||||
|
||||
*2019-06-21*
|
||||
|
||||
#### Bug fixes
|
||||
|
||||
- Chore
|
||||
- Fix TS definitions file (#15805 by @NateScarlet)
|
||||
|
||||
### 2.9.1
|
||||
|
||||
*2019-05-30*
|
||||
|
||||
|
@ -32,7 +41,7 @@
|
|||
- PageHeader
|
||||
- Add PageHeader component (#15714 by @ziyoung)
|
||||
- InfiniteScroll
|
||||
- Add InfiniteScroll directive (#15567 by @iamkun)
|
||||
- Add InfiniteScroll directive (#15567 by @iamkun)
|
||||
- Cascader
|
||||
- Add multiple mode and filter-method (#15611 by @SimonaliaChen)
|
||||
- Message
|
||||
|
@ -46,7 +55,7 @@
|
|||
- Image
|
||||
- Add support for transmit attrs and listeners (#15578 by @VanMess)
|
||||
- Theme
|
||||
- Add popup background (#15412 by @iamkun)
|
||||
- Add popup background (#15412 by @iamkun)
|
||||
- Chore
|
||||
- Update new 2.9.0 index page (#15682 by @iamkun)
|
||||
|
||||
|
@ -57,7 +66,7 @@
|
|||
- Image
|
||||
- Fix ssr and object-fit compatibility (#15346 by @SimonaliaChen)
|
||||
- Input
|
||||
- Fix show-word-count style in el-form (#15359 by @lvjiaxuan)
|
||||
- Fix show-word-count style in el-form (#15359 by @lvjiaxuan)
|
||||
- Fix clear icon is not centered (#15354 by @YiiGuxing)
|
||||
- Calendar
|
||||
- Fix not correct day of week when the day is Sunday (#15399 by @qingdengyue)
|
||||
|
@ -73,7 +82,7 @@
|
|||
- Fix custom tabindex not work (#15619 by @SimonaliaChen )
|
||||
- Link
|
||||
- Fix link icon style class (#15752 by @iamkun)
|
||||
- Select
|
||||
- Select
|
||||
- Revert set value to null when cleared (#15447 by @iamkun)
|
||||
- Loading
|
||||
- Fix dom not change when loading state change quickly (#15123 by @FAKER-A)
|
||||
|
@ -84,7 +93,7 @@
|
|||
- Radio
|
||||
- Fix issue 14808 (#14809 by @OverTree)
|
||||
- Form
|
||||
- Fix resetFields issue (15181 by @luckyCao)
|
||||
- Fix resetFields issue (15181 by @luckyCao)
|
||||
- Chore
|
||||
- Upgrade dependencies and fix demo bug (#15324 by ziyoung)
|
||||
- Type
|
||||
|
@ -215,34 +224,34 @@
|
|||
|
||||
- Tareas
|
||||
- Actualizado changelog zh-cn (#14965 by @iamkun)
|
||||
|
||||
|
||||
- Ocultar la descripcion de la demo cuando esta vacia (#15014 by @ziyoung)
|
||||
|
||||
|
||||
- Muestra la info dev del server por defecto @iamkun)
|
||||
|
||||
|
||||
- Arreglado un error del changelog v2.6.0 (#15026 by @iamkun)
|
||||
|
||||
- Actualizado build config (#14821 by @abc3660170)
|
||||
|
||||
|
||||
- Agregado hmr (#15221 by @SimonaliaChen)
|
||||
|
||||
|
||||
- Uso de sourcemap en entorno dev (#15087 by @ibufu) Docs
|
||||
|
||||
|
||||
- Cambio de nombre de variable en docs (#14602 #15003 #15094 #15105 by @liupl)
|
||||
|
||||
|
||||
- Arreglado un error en la documentacion de upload (#15023 by @iamkun)
|
||||
|
||||
|
||||
- Actualizada la documentacion del custom validator del Form (#15040 by @iamkun)
|
||||
|
||||
|
||||
- Actualizada la documentacion de Tabs de como mostrar tabs verticales (#15053 by @iamkun)
|
||||
|
||||
|
||||
- Uso del dominio eleme.cn (#15139 by @ziyoung)
|
||||
|
||||
|
||||
- Arreglado el nombre de la ruta de imágenes (#15194 by @iamkun)
|
||||
|
||||
|
||||
- Eliminada la traducción duplicada en francés (#15207 by @iamkun)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#### Breaking changes
|
||||
|
||||
|
@ -259,7 +268,7 @@
|
|||
|
||||
- Form
|
||||
- Arreglado el estilo auto `label-width` (#14955 by @ziyoung)
|
||||
|
||||
|
||||
#### Optimización
|
||||
- Docs
|
||||
- Arreglado un error de link de una imagen (#14957 by @iamkun)
|
||||
|
@ -282,7 +291,7 @@
|
|||
- El color de fondo puede ser configurado (#14939 by @ziyoung)
|
||||
- Form
|
||||
- `label-width` soporta auto width (#14944 by @ziyoung)
|
||||
|
||||
|
||||
#### Optimización
|
||||
- Docs
|
||||
- Actualización de la documentación en español (#14913 by @Gonzalo2310)
|
||||
|
@ -985,7 +994,7 @@
|
|||
- Switch
|
||||
- Corregido se disparaban los dos eventos nativos de click cuando se hacia click en el Switch, #9760
|
||||
|
||||
|
||||
|
||||
|
||||
### 2.1.0 Charcoal
|
||||
|
||||
|
|
|
@ -1,6 +1,15 @@
|
|||
## Changelog
|
||||
|
||||
## 2.9.1
|
||||
### 2.9.2
|
||||
|
||||
*2019-06-21*
|
||||
|
||||
#### Bug fixes
|
||||
|
||||
- Chore
|
||||
- Fix TS definitions file (#15805 by @NateScarlet)
|
||||
|
||||
### 2.9.1
|
||||
|
||||
*2019-05-30*
|
||||
|
||||
|
|
|
@ -1,5 +1,14 @@
|
|||
## 更新日志
|
||||
|
||||
### 2.9.2
|
||||
|
||||
*2019-06-21*
|
||||
|
||||
#### Bug 修复
|
||||
|
||||
- Chore
|
||||
- 修复 TS 定义文件 (#15805 by @NateScarlet)
|
||||
|
||||
### 2.9.1
|
||||
|
||||
*2019-05-30*
|
||||
|
@ -32,7 +41,7 @@
|
|||
- PageHeader
|
||||
- 新增 PageHeader 组件 (#15714 by @ziyoung)
|
||||
- InfiniteScroll
|
||||
- 新增 InfiniteScroll 指令 (#15567 by @iamkun)
|
||||
- 新增 InfiniteScroll 指令 (#15567 by @iamkun)
|
||||
- Cascader
|
||||
- 新增多选模式和 filter-method 方法 (#15611 by @SimonaliaChen)
|
||||
- Message
|
||||
|
@ -46,7 +55,7 @@
|
|||
- Image
|
||||
- 支持 attrs 和 listeners (#15578 by @VanMess)
|
||||
- Theme
|
||||
- 新增 popup 背景配置 (#15412 by @iamkun)
|
||||
- 新增 popup 背景配置 (#15412 by @iamkun)
|
||||
- Chore
|
||||
- 更新文档首页 (#15682 by @iamkun)
|
||||
|
||||
|
@ -57,7 +66,7 @@
|
|||
- Image
|
||||
- 修复 ssr 问题和 object-fit 的兼容性 (#15346 by @SimonaliaChen)
|
||||
- Input
|
||||
- 修复 show-word-count 样式问题 (#15359 by @lvjiaxuan)
|
||||
- 修复 show-word-count 样式问题 (#15359 by @lvjiaxuan)
|
||||
- 修复删除图标样式 (#15354 by @YiiGuxing)
|
||||
- Calendar
|
||||
- 修复星期展示错误 (#15399 by @qingdengyue)
|
||||
|
@ -73,7 +82,7 @@
|
|||
- 修复自定义 tabindex 不生效问题 (#15619 by @SimonaliaChen)
|
||||
- Link
|
||||
- 修复图标 class 问题 (#15752 by @iamkun)
|
||||
- Select
|
||||
- Select
|
||||
- 回滚清除时,设置 value 为 null 的修改 (#15447 by @iamkun)
|
||||
- Loading
|
||||
- 修复 Dom 不更新的问题 (#15123 by @FAKER-A)
|
||||
|
@ -102,7 +111,7 @@
|
|||
- 重新命名文档变量 (#15185 by @liupl)
|
||||
- 更新 Image 组件文档 (#15423 by @haoranyu)
|
||||
- 修复 Form 组件文档错误 (#15228 by @SHERlocked93)
|
||||
|
||||
|
||||
### 2.8.2
|
||||
|
||||
*2019-04-25*
|
||||
|
@ -245,7 +254,7 @@ Docs
|
|||
|
||||
- Form
|
||||
- 修复 `label-width` 为 `auto` 的样式 (#14955 by @ziyoung)
|
||||
|
||||
|
||||
#### 优化
|
||||
- Docs
|
||||
- 修复文档内图片链接错误 (#14957 by @iamkun)
|
||||
|
@ -268,7 +277,7 @@ Docs
|
|||
- 可以设置背景色 (#14939 by @ziyoung)
|
||||
- Form
|
||||
- `label-width` 支持自动宽度 (#14944 by @ziyoung)
|
||||
|
||||
|
||||
#### 优化
|
||||
- Docs
|
||||
- 更新西班牙语文档 (#14913 by @Gonzalo2310)
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
import { createVue, destroyVM } from '../util.js';
|
||||
import ajax from 'packages/upload/src/ajax';
|
||||
const noop = () => {
|
||||
};
|
||||
|
||||
const noop = () => {};
|
||||
const option = {
|
||||
onSuccess: noop,
|
||||
onProgress: noop,
|
||||
data: { a: 'abc', b: 'bcd' },
|
||||
filename: 'file.png',
|
||||
file: 'foo',
|
||||
file: new File([JSON.stringify('foo')], {type: 'image/png'}),
|
||||
action: '/upload',
|
||||
headers: { region: 'shanghai' }
|
||||
};
|
||||
|
@ -35,7 +35,6 @@ describe('ajax', () => {
|
|||
it('request width header', done => {
|
||||
ajax(option);
|
||||
expect(requests[0].requestHeaders).to.eql({
|
||||
// 'X-Requested-With': 'XMLHttpRequest',
|
||||
region: 'shanghai'
|
||||
});
|
||||
done();
|
||||
|
|
Loading…
Reference in New Issue