// import * as vue from 'vue'
// import axios from 'axios'
// import qs from 'qs'
// import fetchComponents from 'http://127.0.0.1:8088/component-lib.min.js'
// const { components, eventBus } = fetchComponents(
//   vue,
//   axios,
//   qs,
// )('http://jingan.omniview.pro/api/v2')

window._base_url = 'http://jingan.omniview.pro/api/v2'
import { components, eventBus } from './component-lib.esm' // 未正式上生产暂时先如此代替

export default components
export const bus = eventBus
export const tabs = {
  物业: [
    'A001',
    'A002',
    'A003',
    'A004',
    'A005',
    'A006',
    'A007',
    'A008',
    'A009',
  ],
  市场: ['A010', 'A011'],
  修缮: ['A012', 'A013', 'A020'],
  保障: ['A014'],
}
