mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 07:27:33 +08:00
code refactor
This commit is contained in:
+1
-20
@@ -830,30 +830,11 @@ const allCategoryIcons = {
|
||||
}
|
||||
};
|
||||
|
||||
const deviceIcons = {
|
||||
mobile: {
|
||||
f7Icon: 'device_phone_portrait'
|
||||
},
|
||||
tablet: {
|
||||
f7Icon: 'device_tablet_portrait'
|
||||
},
|
||||
wearable: {
|
||||
f7Icon: 'device_phone_portrait'
|
||||
},
|
||||
desktop: {
|
||||
f7Icon: 'device_desktop'
|
||||
},
|
||||
tv: {
|
||||
f7Icon: 'tv'
|
||||
}
|
||||
};
|
||||
|
||||
export default {
|
||||
allAccountIcons: allAccountIcons,
|
||||
defaultAccountIconId: defaultAccountIconId,
|
||||
defaultAccountIcon: allAccountIcons[defaultAccountIconId],
|
||||
allCategoryIcons: allCategoryIcons,
|
||||
defaultCategoryIconId: defaultCategoryIconId,
|
||||
defaultCategoryIcon: allCategoryIcons[defaultCategoryIconId],
|
||||
deviceIcons: deviceIcons,
|
||||
defaultCategoryIcon: allCategoryIcons[defaultCategoryIconId]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user