From 1c4fae42be492b45ba5782ccfc16c1b61895e32e Mon Sep 17 00:00:00 2001 From: CaptainB Date: Fri, 4 Jul 2025 16:17:56 +0800 Subject: [PATCH] refactor: update filter logic to use nick_name instead of username for member filtering MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1057962 --user=刘瑞斌 【资源授权】社区版、专业版、企业版资源授权-工具,模糊搜索成员失败 https://www.tapd.cn/62980211/s/1723760 --- ui/src/views/system/resource-authorization/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/views/system/resource-authorization/index.vue b/ui/src/views/system/resource-authorization/index.vue index e1336c5bb..4882c3c8a 100644 --- a/ui/src/views/system/resource-authorization/index.vue +++ b/ui/src/views/system/resource-authorization/index.vue @@ -209,7 +209,7 @@ const activeData = computed(() => { watch(filterText, (val: any) => { if (val) { filterMember.value = memberList.value.filter((v: any) => - v.username.toLowerCase().includes(val.toLowerCase()), + v.nick_name.toLowerCase().includes(val.toLowerCase()), ) } else { filterMember.value = memberList.value