123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- import BotFloatButton from './src/components/BotFloatButton'
- import CustomForm from './src/components/Form'
- import DragIcon from './src/components/DragIcon'
- import CustomList from './src/components/List'
- import CustomListItem from './src/components/ListItem'
- import NoData from './src/components/NoData'
- import Tools from './src/utils/tool'
- import _Vue from 'vue'
- const components = [
- BotFloatButton,
- DragIcon,
- CustomForm,
- CustomList,
- CustomListItem,
- NoData,
- ]
- const install = function(Vue){
- if (!Vue) {
- window.Vue = Vue = _Vue
- }
- components.forEach(component => {
- Vue.component(component.name, component);
- });
- }
- const setDictLoader = function(dictLoad){
- Tools.dictLoad = dictLoad
- }
- export default {
- version: '1.0.1',
- BotFloatButton,
- DragIcon,
- CustomForm,
- CustomList,
- CustomListItem,
- NoData,
-
- install,
- setDictLoader
- }
|