import MyhttpImg from '../common/httpImg.vue' import MyhttpLazyImg from '../common/httpLazyImg.vue' import MynoData from '../common/noData.vue' import MYfButton from '../common/fButton.vue' import MYvLoading from '../common/vLoading.vue' // 图片组件 const httpImg = { install (Vue) { Vue.component('httpImg', MyhttpImg) } } const httpLazyImg = { install(Vue) { Vue.component('MyhttpLazyImg', MyhttpLazyImg) } } const noData = { install (Vue) { Vue.component('noData', MynoData) } } const fButton = { install (Vue) { Vue.component('fButton', MYfButton) } } const vLoading = { install (Vue) { Vue.component('vLoading', MYvLoading) } } // export default httpImg export { httpImg, httpLazyImg, noData, fButton, vLoading }