测试环境优化

This commit is contained in:
GaoHao
2024-12-30 19:29:22 +08:00
parent 643b9f3e26
commit ca19590876
9 changed files with 42 additions and 44 deletions

View File

@@ -25,7 +25,6 @@ class Request {
options.params = options.params || {};
options.header = Object.assign({}, this.config.header, options.header);
options.method = options.method || this.config.method;
console.log(options);
return new Promise((resolve, reject) => {
options.complete = (response) => {
// 请求返回后隐藏loading(如果请求返回快的话可能会没有loading)