# axios 上传进度

```javascript
const config = {
    onUploadProgress: progressEvent => console.log(progressEvent.loaded / progressEvent.total)
}

axios.put('/upload/server', data, config);
```
