mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 16:54:25 +08:00
optimize ui
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import accountIcon from "./accountIcon.js";
|
||||
import categoryIcon from "./categoryIcon.js";
|
||||
|
||||
export default function (iconId, iconType) {
|
||||
if (iconType === 'account') {
|
||||
return accountIcon(iconId);
|
||||
} else if (iconType === 'category') {
|
||||
return categoryIcon(iconId);
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user