mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 16:54:25 +08:00
add new icon lib
This commit is contained in:
@@ -6,9 +6,9 @@ export default function (iconId) {
|
||||
iconId = iconId.toString();
|
||||
}
|
||||
|
||||
if (iconId <= icons.totalAccountIconCount) {
|
||||
return icons.allAccountIcons[iconId].f7Icon;
|
||||
if (!icons.allAccountIcons[iconId]) {
|
||||
return icons.defaultAccountIcon.icon;
|
||||
}
|
||||
|
||||
return icons.defaultAccountIcon.f7Icon;
|
||||
return icons.allAccountIcons[iconId].icon;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user