From a1a03ee96963b282ec29f15c80912b790ad0150b Mon Sep 17 00:00:00 2001 From: jinna Date: Wed, 27 May 2026 11:42:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=BC=A0=E5=8F=82=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/jh-select/index.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/jh-select/index.vue b/src/components/jh-select/index.vue index d9db12a0..1ef500d7 100644 --- a/src/components/jh-select/index.vue +++ b/src/components/jh-select/index.vue @@ -98,6 +98,7 @@ export default { }, methods: { debounce(func, wait) { + console.log('22222222222222222') let timeout = null; return (...args) => { clearTimeout(timeout); @@ -269,6 +270,7 @@ export default { [this.searchKey]: this.searchText, ...this.params, }; + if(!this.searchText) delete sendData[this.searchKey]; let res; if (this.apiMethod.toLowerCase() === 'post') { res = await axios.post(this.apiUrl, sendData);