请求:将自己的请求,从 request2 且到 request 中

This commit is contained in:
YunaiV
2024-01-05 09:21:52 +08:00
parent 2600716d46
commit ab48b4d640
7 changed files with 28 additions and 31 deletions
+2 -2
View File
@@ -130,8 +130,8 @@ http.interceptors.response.use(
(response.data.msg !== '' || response.config.custom.successMsg !== '') &&
response.config.custom.showSuccess
) {
uni.showToast({
title: response.config.custom.successMsg || response.data.msg,
uni.showToast({
title: response.config.custom.successMsg,
icon: 'none',
});
}