/* * @Author: Haijun Zhang * @Date: 2022-11-03 15:41:09 * @LastEditTime: 2022-11-08 14:34:03 * @LastEditors: Haijun Zhang * @Description: * @FilePath: \cmc-web\packages\common\components\index.js */ import Vue from 'vue' import TimeSelect from './TimeSelect.vue' import RichCharts from './rich-chart/index.vue' import SkuTable from './sku-table/index.vue' import WsUploadFile from './upload-file/index.vue' import IfTooltip from './if-tooltip/index.vue' const components = { TimeSelect, RichCharts, SkuTable, WsUploadFile, IfTooltip } Object.keys(components).forEach(key => { Vue.component(key, components[key]) })