Commit 4ac1e4c2 by linjinhong

Merge remote-tracking branch 'origin/linjinhong' into dev

parents 5798ca19 62aadf72
...@@ -3962,7 +3962,7 @@ const replenishmentSuccess = async () => { ...@@ -3962,7 +3962,7 @@ const replenishmentSuccess = async () => {
function getPlatformImg(code: string) { function getPlatformImg(code: string) {
const lowerCode = code.toLowerCase() const lowerCode = code.toLowerCase()
const item = platformJson.find((el) => const item = platformJson.find((el) =>
el.name.toLowerCase().includes(lowerCode), el.type.toLowerCase().includes(lowerCode),
) )
if (item) { if (item) {
return item.icon.split('/').pop() return item.icon.split('/').pop()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment