Skip to content

Commit 0449f5d

Browse files
committed
Chore: Relase 2.9.2
1 parent a6b2ce9 commit 0449f5d

File tree

5 files changed

+78
-43
lines changed

5 files changed

+78
-43
lines changed

CHANGELOG.en-US.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
## Changelog
22

3-
## 2.9.1
3+
### 2.9.2
4+
5+
*2019-06-21*
6+
7+
#### Bug fixes
8+
9+
- Chore
10+
- Fix TS definitions file (#15805 by @NateScarlet)
11+
12+
### 2.9.1
413

514
*2019-05-30*
615

@@ -32,7 +41,7 @@
3241
- PageHeader
3342
- Add PageHeader component (#15714 by @ziyoung)
3443
- InfiniteScroll
35-
- Add InfiniteScroll directive (#15567 by @iamkun)
44+
- Add InfiniteScroll directive (#15567 by @iamkun)
3645
- Cascader
3746
- Add multiple mode and filter-method (#15611 by @SimonaliaChen)
3847
- Message
@@ -46,7 +55,7 @@
4655
- Image
4756
- Add support for transmit attrs and listeners (#15578 by @VanMess)
4857
- Theme
49-
- Add popup background (#15412 by @iamkun)
58+
- Add popup background (#15412 by @iamkun)
5059
- Chore
5160
- Update new 2.9.0 index page (#15682 by @iamkun)
5261

@@ -57,7 +66,7 @@
5766
- Image
5867
- Fix ssr and object-fit compatibility (#15346 by @SimonaliaChen)
5968
- Input
60-
- Fix show-word-count style in el-form (#15359 by @lvjiaxuan)
69+
- Fix show-word-count style in el-form (#15359 by @lvjiaxuan)
6170
- Fix clear icon is not centered (#15354 by @YiiGuxing)
6271
- Calendar
6372
- Fix not correct day of week when the day is Sunday (#15399 by @qingdengyue)
@@ -73,7 +82,7 @@
7382
- Fix custom tabindex not work (#15619 by @SimonaliaChen )
7483
- Link
7584
- Fix link icon style class (#15752 by @iamkun)
76-
- Select
85+
- Select
7786
- Revert set value to null when cleared (#15447 by @iamkun)
7887
- Loading
7988
- Fix dom not change when loading state change quickly (#15123 by @FAKER-A)
@@ -102,7 +111,7 @@
102111
- Rename variable in docs (#15185 by @liupl)
103112
- Fix image attribute type and default value (#15423 by @haoranyu)
104113
- Fix form doc bug (#15228 by @SHERlocked93)
105-
114+
106115
### 2.8.2
107116

108117
*2019-04-25*
@@ -245,7 +254,7 @@ Docs
245254

246255
- Form
247256
- Fix auto `label-width` style (#14955 by @ziyoung)
248-
257+
249258
#### Optimization
250259
- Docs
251260
- Fix doc img link error (#14957 by @iamkun)
@@ -268,7 +277,7 @@ Docs
268277
- Background color can be configured (#14939 by @ziyoung)
269278
- Form
270279
- `label-width` supports auto width (#14944 by @ziyoung)
271-
280+
272281
#### Optimization
273282
- Docs
274283
- Update Spanish docs (#14913 by @Gonzalo2310)

CHANGELOG.es.md

Lines changed: 32 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
## Changelog
22

3-
## 2.9.1
3+
### 2.9.2
4+
5+
*2019-06-21*
6+
7+
#### Bug fixes
8+
9+
- Chore
10+
- Fix TS definitions file (#15805 by @NateScarlet)
11+
12+
### 2.9.1
413

514
*2019-05-30*
615

@@ -32,7 +41,7 @@
3241
- PageHeader
3342
- Add PageHeader component (#15714 by @ziyoung)
3443
- InfiniteScroll
35-
- Add InfiniteScroll directive (#15567 by @iamkun)
44+
- Add InfiniteScroll directive (#15567 by @iamkun)
3645
- Cascader
3746
- Add multiple mode and filter-method (#15611 by @SimonaliaChen)
3847
- Message
@@ -46,7 +55,7 @@
4655
- Image
4756
- Add support for transmit attrs and listeners (#15578 by @VanMess)
4857
- Theme
49-
- Add popup background (#15412 by @iamkun)
58+
- Add popup background (#15412 by @iamkun)
5059
- Chore
5160
- Update new 2.9.0 index page (#15682 by @iamkun)
5261

@@ -57,7 +66,7 @@
5766
- Image
5867
- Fix ssr and object-fit compatibility (#15346 by @SimonaliaChen)
5968
- Input
60-
- Fix show-word-count style in el-form (#15359 by @lvjiaxuan)
69+
- Fix show-word-count style in el-form (#15359 by @lvjiaxuan)
6170
- Fix clear icon is not centered (#15354 by @YiiGuxing)
6271
- Calendar
6372
- Fix not correct day of week when the day is Sunday (#15399 by @qingdengyue)
@@ -73,7 +82,7 @@
7382
- Fix custom tabindex not work (#15619 by @SimonaliaChen )
7483
- Link
7584
- Fix link icon style class (#15752 by @iamkun)
76-
- Select
85+
- Select
7786
- Revert set value to null when cleared (#15447 by @iamkun)
7887
- Loading
7988
- Fix dom not change when loading state change quickly (#15123 by @FAKER-A)
@@ -84,7 +93,7 @@
8493
- Radio
8594
- Fix issue 14808 (#14809 by @OverTree)
8695
- Form
87-
- Fix resetFields issue (15181 by @luckyCao)
96+
- Fix resetFields issue (15181 by @luckyCao)
8897
- Chore
8998
- Upgrade dependencies and fix demo bug (#15324 by ziyoung)
9099
- Type
@@ -215,34 +224,34 @@
215224

216225
- Tareas
217226
- Actualizado changelog zh-cn (#14965 by @iamkun)
218-
227+
219228
- Ocultar la descripcion de la demo cuando esta vacia (#15014 by @ziyoung)
220-
229+
221230
- Muestra la info dev del server por defecto @iamkun)
222-
231+
223232
- Arreglado un error del changelog v2.6.0 (#15026 by @iamkun)
224233

225234
- Actualizado build config (#14821 by @abc3660170)
226-
235+
227236
- Agregado hmr (#15221 by @SimonaliaChen)
228-
237+
229238
- Uso de sourcemap en entorno dev (#15087 by @ibufu) Docs
230-
239+
231240
- Cambio de nombre de variable en docs (#14602 #15003 #15094 #15105 by @liupl)
232-
241+
233242
- Arreglado un error en la documentacion de upload (#15023 by @iamkun)
234-
243+
235244
- Actualizada la documentacion del custom validator del Form (#15040 by @iamkun)
236-
245+
237246
- Actualizada la documentacion de Tabs de como mostrar tabs verticales (#15053 by @iamkun)
238-
247+
239248
- Uso del dominio eleme.cn (#15139 by @ziyoung)
240-
249+
241250
- Arreglado el nombre de la ruta de imágenes (#15194 by @iamkun)
242-
251+
243252
- Eliminada la traducción duplicada en francés (#15207 by @iamkun)
244-
245-
253+
254+
246255

247256
#### Breaking changes
248257

@@ -259,7 +268,7 @@
259268

260269
- Form
261270
- Arreglado el estilo auto `label-width` (#14955 by @ziyoung)
262-
271+
263272
#### Optimización
264273
- Docs
265274
- Arreglado un error de link de una imagen (#14957 by @iamkun)
@@ -282,7 +291,7 @@
282291
- El color de fondo puede ser configurado (#14939 by @ziyoung)
283292
- Form
284293
- `label-width` soporta auto width (#14944 by @ziyoung)
285-
294+
286295
#### Optimización
287296
- Docs
288297
- Actualización de la documentación en español (#14913 by @Gonzalo2310)
@@ -985,7 +994,7 @@
985994
- Switch
986995
- Corregido se disparaban los dos eventos nativos de click cuando se hacia click en el Switch, #9760
987996

988-
997+
989998

990999
### 2.1.0 Charcoal
9911000

CHANGELOG.fr-FR.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
## Changelog
22

3-
## 2.9.1
3+
### 2.9.2
4+
5+
*2019-06-21*
6+
7+
#### Bug fixes
8+
9+
- Chore
10+
- Fix TS definitions file (#15805 by @NateScarlet)
11+
12+
### 2.9.1
413

514
*2019-05-30*
615

CHANGELOG.zh-CN.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
## 更新日志
22

3+
### 2.9.2
4+
5+
*2019-06-21*
6+
7+
#### Bug 修复
8+
9+
- Chore
10+
- 修复 TS 定义文件 (#15805 by @NateScarlet)
11+
312
### 2.9.1
413

514
*2019-05-30*
@@ -32,7 +41,7 @@
3241
- PageHeader
3342
- 新增 PageHeader 组件 (#15714 by @ziyoung)
3443
- InfiniteScroll
35-
- 新增 InfiniteScroll 指令 (#15567 by @iamkun)
44+
- 新增 InfiniteScroll 指令 (#15567 by @iamkun)
3645
- Cascader
3746
- 新增多选模式和 filter-method 方法 (#15611 by @SimonaliaChen)
3847
- Message
@@ -46,7 +55,7 @@
4655
- Image
4756
- 支持 attrs 和 listeners (#15578 by @VanMess)
4857
- Theme
49-
- 新增 popup 背景配置 (#15412 by @iamkun)
58+
- 新增 popup 背景配置 (#15412 by @iamkun)
5059
- Chore
5160
- 更新文档首页 (#15682 by @iamkun)
5261

@@ -57,7 +66,7 @@
5766
- Image
5867
- 修复 ssr 问题和 object-fit 的兼容性 (#15346 by @SimonaliaChen)
5968
- Input
60-
- 修复 show-word-count 样式问题 (#15359 by @lvjiaxuan)
69+
- 修复 show-word-count 样式问题 (#15359 by @lvjiaxuan)
6170
- 修复删除图标样式 (#15354 by @YiiGuxing)
6271
- Calendar
6372
- 修复星期展示错误 (#15399 by @qingdengyue)
@@ -73,7 +82,7 @@
7382
- 修复自定义 tabindex 不生效问题 (#15619 by @SimonaliaChen)
7483
- Link
7584
- 修复图标 class 问题 (#15752 by @iamkun)
76-
- Select
85+
- Select
7786
- 回滚清除时,设置 value 为 null 的修改 (#15447 by @iamkun)
7887
- Loading
7988
- 修复 Dom 不更新的问题 (#15123 by @FAKER-A)
@@ -102,7 +111,7 @@
102111
- 重新命名文档变量 (#15185 by @liupl)
103112
- 更新 Image 组件文档 (#15423 by @haoranyu)
104113
- 修复 Form 组件文档错误 (#15228 by @SHERlocked93)
105-
114+
106115
### 2.8.2
107116

108117
*2019-04-25*
@@ -245,7 +254,7 @@ Docs
245254

246255
- Form
247256
- 修复 `label-width``auto` 的样式 (#14955 by @ziyoung)
248-
257+
249258
#### 优化
250259
- Docs
251260
- 修复文档内图片链接错误 (#14957 by @iamkun)
@@ -268,7 +277,7 @@ Docs
268277
- 可以设置背景色 (#14939 by @ziyoung)
269278
- Form
270279
- `label-width` 支持自动宽度 (#14944 by @ziyoung)
271-
280+
272281
#### 优化
273282
- Docs
274283
- 更新西班牙语文档 (#14913 by @Gonzalo2310)

test/unit/specs/upload.spec.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { createVue, destroyVM } from '../util.js';
22
import ajax from 'packages/upload/src/ajax';
3-
const noop = () => {
4-
};
3+
4+
const noop = () => {};
55
const option = {
66
onSuccess: noop,
77
onProgress: noop,
88
data: { a: 'abc', b: 'bcd' },
99
filename: 'file.png',
10-
file: 'foo',
10+
file: new File([JSON.stringify('foo')], {type: 'image/png'}),
1111
action: '/upload',
1212
headers: { region: 'shanghai' }
1313
};
@@ -35,7 +35,6 @@ describe('ajax', () => {
3535
it('request width header', done => {
3636
ajax(option);
3737
expect(requests[0].requestHeaders).to.eql({
38-
// 'X-Requested-With': 'XMLHttpRequest',
3938
region: 'shanghai'
4039
});
4140
done();

0 commit comments

Comments
 (0)