diff --git a/public/error.html b/public/error.html
new file mode 100644
index 0000000000000000000000000000000000000000..3ee0fe4f29a365788fbb69f4ac9a2954b9c82a71
--- /dev/null
+++ b/public/error.html
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+
+ 访问系统发生错误
+
+
+
+
+
+
+
diff --git a/public/resource/config.js b/public/resource/config.js
index 838710d9a4f15ecf66704594b47b9179d6d4178d..6f6c898075504373a26c4c9d0d201579ee7e387c 100755
--- a/public/resource/config.js
+++ b/public/resource/config.js
@@ -124,6 +124,8 @@ function getDirectUrl() {
HTTP_RESPONSE_STATUS_CODE = '522';
const directUrl = responseText.DirectUrl.startsWith('http') ? responseText.DirectUrl : 'http://' + responseText.DirectUrl;
window.open(directUrl, '_self');
+ } else if (responseText.Status === 'FAILED' && responseText.Message) {
+ window.location.href = '/error.html?errorMessage=' + encodeURIComponent(responseText.Message);
}
}
};