src/utils/request.js
@@ -59,7 +59,7 @@ } else if (error.response.status == 401) { if (!MessageBox_401_show) { MessageBox_401_show = true ElMessageBox.confirm('当前用户已被登出或无权限访问当前资源,请尝试重新登录后再操作。', '无权限访问', { ElMessageBox.confirm(`${error?.response?.data?.msg || '当前用户已被登出或无权限访问当前资源,请尝试重新登录后再操作。'}`, '无权限访问', { type: 'error', closeOnClickModal: false, center: true,