Projects
Eulaceura:Mainline:GA
aops-hermes
_service:obs_scm:005-add-input-text-limit.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:005-add-input-text-limit.patch of Package aops-hermes
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
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2