代码拉取完成,页面将自动刷新
From 36d6d8345ad7dc158f842d0cad7b5e9810b6e121 Mon Sep 17 00:00:00 2001
From: Hu gang <18768366022@163.com>
Date: Tue, 19 Dec 2023 11:20:33 +0800
Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9AInaddnput=20box=20text=20limit?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/vendor/ant-design-pro/utils/request.js | 3 +++
src/views/leaks/LeakTaskDetail.vue | 1 +
2 files changed, 4 insertions(+)
diff --git a/src/vendor/ant-design-pro/utils/request.js b/src/vendor/ant-design-pro/utils/request.js
index 661bfd0..11be85a 100644
--- a/src/vendor/ant-design-pro/utils/request.js
+++ b/src/vendor/ant-design-pro/utils/request.js
@@ -170,6 +170,9 @@ request.interceptors.response.use((response) => {
message: response.data.label,
description: response.data.message
});
+ return new Promise((resolve) => {
+ resolve(null);
+ });
// err = new Error(response.data.message);
// err.data = response.data.data;
// err.response = response.data;
diff --git a/src/views/leaks/LeakTaskDetail.vue b/src/views/leaks/LeakTaskDetail.vue
index 81f0a88..56056c9 100644
--- a/src/views/leaks/LeakTaskDetail.vue
+++ b/src/views/leaks/LeakTaskDetail.vue
@@ -105,6 +105,7 @@
<a-input-search
:placeholder="taskType === 'hotpatch remove' ? `按CVE ID搜索` : `按主机名或IP搜索`"
style="width: 200px"
+ maxLength="20"
@search="onSearch"
/>
</a-col>
--
Gitee
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。