From 656338159378f678dd9efd6f8ea5bc6ab4fcb14e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BE=99=E8=BF=90=E6=A8=A1?= <1724894114@qq.com> Date: Fri, 12 Jul 2024 19:44:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A3=80=E7=B4=A2=E5=B0=81?= =?UTF-8?q?=E8=A3=85=E7=BB=84=E4=BB=B6=E8=BE=93=E5=85=A5=E6=A1=86=E6=A8=A1?= =?UTF-8?q?=E7=B3=8A=E6=A3=80=E7=B4=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/scInput/inputVague.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/scInput/inputVague.vue b/src/components/scInput/inputVague.vue index 6b65bc3..9d75dab 100644 --- a/src/components/scInput/inputVague.vue +++ b/src/components/scInput/inputVague.vue @@ -27,7 +27,7 @@ export default { activation_text:{ handler(val){ if(val){ - this.localText = val.value; + this.localText = val.value.replace(/%/g, ""); } }, deep:true @@ -49,7 +49,7 @@ export default { emitActivationText() { this.$emit('update:activation_text', { operator: this.activation_text.operator, - value: this.localText? this.localText:"" + value: this.localText? '%'+this.localText+'%':"" }); this.$emit('fetchData'); }