openclaw - 💡(How to fix) Fix UI 显示问题 - 飞书控制面板账户下拉列表错误标记 (default) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#59206Fetched 2026-04-08 02:27:32
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×2commented ×1

飞书控制面板账户下拉列表按拼音排序后,将第一个账户(阿紫)错误标记为 (default),但实际配置中 defaultAccount 为 main

Root Cause

飞书控制面板账户下拉列表按拼音排序后,将第一个账户(阿紫)错误标记为 (default),但实际配置中 defaultAccount 为 main

RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

飞书控制面板账户下拉列表按拼音排序后,将第一个账户(阿紫)错误标记为 (default),但实际配置中 defaultAccount 为 main

Steps to reproduce

  1. 打开 OpenClaw 控制面板 (http://localhost:18789)
  2. 进入飞书配置页面
  3. 查看账户下拉列表
  4. 观察 (default) 标记显示在阿紫旁边
  5. 检查 openclaw.json 配置,发现 defaultAccount 实际设置为 "main"

Expected behavior

(default) 标记应该显示在实际配置的默认账户旁边(即 main/J.A.R.V.I.S.),而不是按拼音排序的第一个账户

Actual behavior

(default) 标记显示在阿紫旁边(因为阿紫拼音 "Ā zǐ" 以 A 开头,排在第一位),但实际配置中 channels.feishu.defaultAccount 设置为 "main"

OpenClaw version

2026.3.31

Operating system

Windows 11

Install method

No response

Model

bailian/qwen3.5-plus

Provider / routing chain

openclaw -> bailian (dashscope)

Additional provider/model setup details

飞书插件版本:2026.3.25 配置路径:C:\Users\liuhua.openclaw\openclaw.json channels.feishu.defaultAccount: "main" channels.feishu.accounts 中包含 12 个飞书机器人配置(J.A.R.V.I.S. 团队 10 个 + Edict 团队 2 个)

Logs, screenshots, and evidence

Impact and severity

Affected: 使用 OpenClaw 控制面板配置飞书机器人的用户 Severity: Low (仅 UI 显示问题,不影响实际功能) Frequency: 始终存在 Consequence: 可能造成用户混淆,误以为默认账户是阿紫而非 main

Additional information

问题原因:UI 下拉列表按中文拼音首字母排序,阿紫 (Ā zǐ) 以 A 开头排在第一位,UI 自动将排序后的第一个账户标记为 (default)

建议修复:UI 应该读取配置文件中 channels.feishu.defaultAccount 的值,在该值对应的账户旁边显示 (default) 标记,而不是按排序位置标记

extent analysis

TL;DR

The most likely fix is to update the UI to read the channels.feishu.defaultAccount value from the configuration file and display the (default) mark next to the corresponding account.

Guidance

  • Verify that the channels.feishu.defaultAccount value in the openclaw.json configuration file is correctly set to "main".
  • Update the UI code to read the channels.feishu.defaultAccount value and display the (default) mark next to the corresponding account, rather than relying on the sorted list position.
  • Test the updated UI to ensure that the (default) mark is displayed correctly next to the main account.
  • Consider adding a check to ensure that the defaultAccount value exists in the list of accounts before attempting to display the (default) mark.

Example

No code example is provided as the issue does not include specific code snippets or APIs.

Notes

The issue is specific to the UI display and does not affect the actual functionality of the application. The fix should be relatively straightforward and only requires updating the UI code to read the correct value from the configuration file.

Recommendation

Apply a workaround by updating the UI code to correctly display the (default) mark next to the main account, as this is a low-severity issue that only affects the UI display.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

(default) 标记应该显示在实际配置的默认账户旁边(即 main/J.A.R.V.I.S.),而不是按拼音排序的第一个账户

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING