From c4ab970fb750f684bf3db03ef2e094e081b4be4d Mon Sep 17 00:00:00 2001 From: Austin Date: Mon, 21 Sep 2026 14:45:10 +0800 Subject: [PATCH] fix(im/registrationInvite): add input verification for bound user search 1. add computed state to check if bind user input is unverified 2. disable confirm button and show warning tip when input is unverified 3. track last searched keyword to validate user input 4. add submission guard to prevent unvalidated submissions --- .../im/registrationInvite/CreateModal.vue | 27 +++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/web/src/views/im/registrationInvite/CreateModal.vue b/web/src/views/im/registrationInvite/CreateModal.vue index 5aac578..9aa61cc 100644 --- a/web/src/views/im/registrationInvite/CreateModal.vue +++ b/web/src/views/im/registrationInvite/CreateModal.vue @@ -20,6 +20,7 @@ {{ boundUser.nickname || boundUser.username || boundUser.phone || '--' }}({{ boundUser.userId }}) 清除 +
输入的用户ID未验证,请先点击搜索
@@ -31,14 +32,14 @@