解决 mock 与 upload 的冲突

This commit is contained in:
icssoa 2021-03-22 21:53:56 +08:00
parent 670157d46c
commit 9edba6ebed

View File

@ -1 +1,4 @@
import "./chat";
const xhr = new window._XMLHttpRequest();
window.XMLHttpRequest.prototype.upload = xhr.upload;