feat(admin): 观看/收藏/点赞列表单独增加系统列

用户单元格只保留身份信息,Android/iOS 抽成独立「系统」列,三页列结构一致。
This commit is contained in:
Vicky authored and trae-solo-agent committed 2026-10-27 14:17:37 +08:00
1 parent c89c5668e1
commit 5dbc752798
5 files changed
+19 -15

No files matched your search

@@ -36,6 +36,12 @@ export function statusMeta(status) {
const PLATFORM_TEXT = { ANDROID: 'Android', IOS: 'iOS', WEB: 'Web' }
/** 客户端平台,只有 iOS / Android 两种取值(缺记录显示横线)。 */
export function platformText(row) {
const platform = row?.platform || ''
return PLATFORM_TEXT[platform] || platform || '—'
}
/** 登录会话上的系统,例如 Android 16。没有记录时显示横线。 */
export function systemText(row) {
const name = PLATFORM_TEXT[row?.platform] || row?.platform || ''