refactor(data): excludeUserId 重命名为 excludeId,语义更准确

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
17792275749
2026-05-27 10:17:25 +08:00
co-authored by Claude Sonnet 4.6
parent e898c4d305
commit 32dd83a738
2 changed files with 4 additions and 4 deletions
@@ -60,7 +60,7 @@ Component({
value: 'addMember'
},
/** 需要排除的用户 ID(history 模式下排除当前查看的成员) */
excludeUserId: {
excludeId: {
type: String,
value: ''
}
@@ -117,8 +117,8 @@ Component({
if (this.properties.source === 'history') {
const params: Record<string, string> = { userId }
if (this.properties.excludeUserId) {
params.userIdExclude = this.properties.excludeUserId
if (this.properties.excludeId) {
params.userIdExclude = this.properties.excludeId
}
get<HistoryApiItem[]>('weighingScale/v3/select/history/user', params, { loading: false })
.then((res: any) => {