fix(web-admin): rename ETC/加油充值 UI labels to 油卡.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
d3590398db
commit
d3ac07d5c6
3 files changed
+16
-16
No files matched your search
@@ -542,11 +542,11 @@ export function parsePlFeedbackImages(raw?: string | string[] | null): string[]
|
||||
}
|
||||
|
||||
export function getPlRechargeTypeLabel(type: string) {
|
||||
return type === 'etc' ? 'ETC' : type === 'fuel' ? '加油' : type
|
||||
return type === 'etc' ? 'ETC' : type === 'fuel' ? '油卡' : type
|
||||
}
|
||||
|
||||
export function getPlRechargeTypeTagType(type: string) {
|
||||
// primary/success 同为翠绿,加油用 warning(琥珀)区分
|
||||
// primary/success 同为翠绿,油卡用 warning(琥珀)区分
|
||||
return type === 'etc' ? 'primary' : type === 'fuel' ? 'warning' : 'info'
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user