src/utils/request.js
@@ -84,6 +84,10 @@ } return Promise.reject('无效的会话,或者会话已过期,请重新登录。') } else if (code === 500) { let loadingInstance1 = Loading.service({ fullscreen: true,text:"签到中" }); setTimeout(() => { loadingInstance1.close(); }, 1000); if (res.config.url === '/hosp/order/addtTransition') { // 使用MessageBox和Message来替代this.$confirm和this.$message MessageBox.confirm(res.data.msg, '提示', {