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*
|
||||
|
||||
|
|
|
@ -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,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*
|
||||
|
|
|
@ -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