From a3e5b3be9f1c82f163ee8cf30d317e11bd28e4c5 Mon Sep 17 00:00:00 2001 From: wangzimeng <3297159934@qq.com> Date: Sat, 9 Aug 2025 16:55:50 +0800 Subject: [PATCH] =?UTF-8?q?request=E6=81=A2=E5=A4=8D=E5=88=B0=E5=8E=9F?= =?UTF-8?q?=E6=A0=B7=EF=BC=8C=E5=9B=A0=E4=B8=BA=E6=94=B6=E8=B4=A7=E7=9A=84?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF=E6=94=B6=E4=B8=8D=E5=88=B0?= =?UTF-8?q?=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sheep/request/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sheep/request/index.js b/sheep/request/index.js index f05f25e..95c4748 100644 --- a/sheep/request/index.js +++ b/sheep/request/index.js @@ -15,11 +15,11 @@ const options = { // 成功提醒 默认使用后端返回值 successMsg: '', // 显示失败消息 默认显示 - showError: false, + showError: true, // 失败提醒 默认使用后端返回信息 errorMsg: '', // 显示请求时loading模态框 默认显示 - showLoading: false, + showLoading: true, // loading提醒文字 loadingMsg: '加载中', // 需要授权才能请求 默认放开