From 3305152e50553f54cedf37c366b9b18f34cb2966 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Wed, 3 Sep 2025 00:59:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=BD=93=E4=BA=BA?= =?UTF-8?q?=E6=A0=BC=20ID=20=E4=B8=BA=E4=B8=AD=E6=96=87=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E4=B8=8D=E5=8F=AF=E4=BF=9D=E5=AD=98=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dashboard/src/views/PersonaPage.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dashboard/src/views/PersonaPage.vue b/dashboard/src/views/PersonaPage.vue index c5ce73c34..18cc54452 100644 --- a/dashboard/src/views/PersonaPage.vue +++ b/dashboard/src/views/PersonaPage.vue @@ -383,8 +383,7 @@ export default { messageType: 'success', personaIdRules: [ v => !!v || this.tm('validation.required'), - v => (v && v.length >= 2) || this.tm('validation.minLength', { min: 2 }), - v => /^[a-zA-Z0-9_-]+$/.test(v) || this.tm('validation.alphanumeric') + v => (v && v.length >= 0) || this.tm('validation.minLength', { min: 2 }), ], systemPromptRules: [ v => !!v || this.tm('validation.required'),