base.js 739 Bytes
/*
 * @Description: 引入公共组件
 * @Autor: renchao
 * @LastEditTime: 2023-04-28 13:30:31
 */
import dialogBox from '@/components/DialogBox/dialogBox.vue'
import LbTable from '@/components/LbTable/lb-table.vue'
import Theme from '@/components/Theme/theme.vue'
import Popup from '@/components/Popup/index'
import Treeselect from '@riophae/vue-treeselect' //树形下拉框组件
import MessageBox from '@/components/MessageBox/index.js'
export default {
  install: (Vue) => {
    Vue.component('dialogBox', dialogBox);
    Vue.component('lbTable', LbTable);
    Vue.component('Theme', Theme);
    Vue.component('Treeselect', Treeselect);
    Vue.prototype.$popup = Popup.install;
    Vue.prototype.$alertMes = MessageBox.alert;
  }
}