mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 12:07:54 +08:00
670ff3f857
Co-authored-by: siaikin <abc131054026@outlook.com>
16 lines
275 B
JavaScript
16 lines
275 B
JavaScript
export const successRequest = ({ onSuccess, file }) => {
|
|
setTimeout(() => {
|
|
onSuccess(null, file);
|
|
});
|
|
};
|
|
|
|
export const errorRequest = ({ onError }) => {
|
|
setTimeout(() => {
|
|
onError();
|
|
});
|
|
};
|
|
|
|
export const syncErrorRequest = ({ onError }) => {
|
|
onError();
|
|
};
|