From a73fcd5dc034496ce9a38a9be166c6bb85819bc1 Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期六, 04 五月 2024 17:15:44 +0800
Subject: [PATCH] update
---
src/utils/request.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/utils/request.js b/src/utils/request.js
index ec1904e..8c820d1 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -130,7 +130,7 @@
}).then((response) => {
resolve(response.data);
}).catch((error) => {
- if (error.status == 400) {
+ if (error?.status == 400) {
ElMessage({
message: error.data.msg,
type: 'warning',
--
Gitblit v1.9.3