1
lzhe
2024-10-10 6b467188a7175e0f5bdb4bb25da5a8ee064d2b4c
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,