spring
2 天以前 991f6f78fccb86b2718ab96969a69304daafe2b4
src/utils/request.ts
@@ -36,10 +36,12 @@
          uni.showToast({
            title: resData.msg || "业务处理失败",
            icon: "none",
            duration: 2000,
          });
          reject({
            message: resData.msg || "业务处理失败",
            code: resData.code,
            duration: 2000,
          });
        }
      },
@@ -53,6 +55,7 @@
        reject({
          message: "网络请求失败",
          error,
          duration: 2000,
        });
      },
    });