Explorar el Código

💄 (dashboard-v6): UserSelect 候选显示「昵称 @用户名」

只显示昵称时同名用户分不出来;手工加减积分等场景容易选错人。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
visuddhinanda hace 6 horas
padre
commit
3a9e49745f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      dashboard-v6/src/components/users/UserSelect.tsx

+ 1 - 1
dashboard-v6/src/components/users/UserSelect.tsx

@@ -56,7 +56,7 @@ const UserSelectWidget = ({
           const userList: RequestOptionsType[] = json.data.rows.map((item) => {
             return {
               value: item.id,
-              label: `${item.nickName}`,
+              label: `${item.nickName} @${item.userName}`,
             };
           });
           console.log("json", userList);