fix bugs
This commit is contained in:

parent
ffdc56b8f1
commit
68f3f0f381
@ -16,7 +16,38 @@ import 'material-design-icons-iconfont/dist/material-design-icons.css';
|
||||
import Vue from 'vue';
|
||||
import Vuetify from 'vuetify/lib';
|
||||
|
||||
import anticonAppStore from '~/components/icons/anticonAppStore';
|
||||
import anticonBulb from '~/components/icons/anticonBulb';
|
||||
import anticonDesktop from '~/components/icons/anticonDesktop';
|
||||
import anticonDrag from '~/components/icons/anticonDrag';
|
||||
import anticonFileText from '~/components/icons/anticonFileText';
|
||||
import anticonLineChart from '~/components/icons/anticonLineChart';
|
||||
import anticonMessage from '~/components/icons/anticonMessage';
|
||||
import anticonNoteExpand from '~/components/icons/anticonNoteExpand';
|
||||
import anticonPieChart from '~/components/icons/anticonPieChart';
|
||||
import anticonSearch from '~/components/icons/anticonSearch';
|
||||
import anticonSetting from '~/components/icons/anticonSetting';
|
||||
|
||||
const anticons = {
|
||||
anticonAppStore,
|
||||
anticonBulb,
|
||||
anticonDesktop,
|
||||
anticonDrag,
|
||||
anticonFileText,
|
||||
anticonLineChart,
|
||||
anticonMessage,
|
||||
anticonNoteExpand,
|
||||
anticonPieChart,
|
||||
anticonSearch,
|
||||
anticonSetting,
|
||||
};
|
||||
|
||||
const anticonVal = {};
|
||||
Object.keys(anticons).forEach(key => {
|
||||
anticonVal[`${key}`] = {
|
||||
component: anticons[key]
|
||||
}
|
||||
});
|
||||
|
||||
Vue.use(Vuetify);
|
||||
|
||||
@ -77,6 +108,7 @@ export default new Vuetify({
|
||||
icoExpandAlt: {
|
||||
component: icoExpandAlt,
|
||||
},
|
||||
...anticonVal,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user