mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-12 21:52:48 +00:00
解决 mock 与 upload 的冲突
This commit is contained in:
parent
670157d46c
commit
9edba6ebed
@ -1 +1,4 @@
|
|||||||
import "./chat";
|
import "./chat";
|
||||||
|
|
||||||
|
const xhr = new window._XMLHttpRequest();
|
||||||
|
window.XMLHttpRequest.prototype.upload = xhr.upload;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user