From 6e04008b084ba72f7cfb01612003e1758afb044d Mon Sep 17 00:00:00 2001 From: "luoJunYong.123" Date: Tue, 7 Dec 2021 17:50:44 +0800 Subject: [PATCH] http_message --- src/utils/http.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/utils/http.js b/src/utils/http.js index e235d67..3cc63d2 100644 --- a/src/utils/http.js +++ b/src/utils/http.js @@ -170,11 +170,11 @@ export function get(url, params){ }) .catch(err => { reject(err.data) - this.$message({ - showClose: true, - message: '请求失败,请刷新页面重新进行请求', - type: 'error' - }); + // this.$message({ + // showClose: true, + // message: '请求失败,请刷新页面重新进行请求', + // type: 'error' + // }); }) }); } @@ -229,11 +229,11 @@ export function post(url, params) { }) .catch(err => { reject(err.data) - this.$message({ - showClose: true, - message: '请求失败,请刷新页面重新进行请求', - type: 'error' - }); + // this.$message({ + // showClose: true, + // message: '请求失败,请刷新页面重新进行请求', + // type: 'error' + // }); }) }); }