✨ 请求:将自己的请求,从 request2 且到 request 中
This commit is contained in:
@@ -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',
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user