// 全局注册自定义 // import myCustomSvg from '@/views/visual/componentsSvg/customSvg.vue'; import myCustomSvg from './svg/customSvg.vue'; import myTree from './tree/index.vue'; import myRichText from './RichText/index.vue'; import mySearch from './retrieval/search.vue'; import myMenu from './menu/index.vue'; import myView from './myView/index.vue'; import mySelectButton from './selectButton/index.vue'; import myFormSearch from './search/search.vue'; import myTimeChoose from './time/timeChoose.vue'; import myContextMenu from './contextMenu/index.vue'; import mySelectTree from './selectTree/index' import myCard from './card/index' import myImageViewer from './imageViewer/index' import myUpload from './upload/index' import myCascader from './Cascader/index' import myTooltip from './tooltip/index' import myIframe from './iframe' //tab import myTabs from './tabs/index' import myTabsItem from './tabs/tabsItem' //查新检索发明点弹窗 import inventionPointDialog from '@/views/noveltySearch/components/dialog/inventionPoint/inventionPoint.vue' import menuInRow from "./menuInRow" import menuInRowItem from "./menuInRow/menuInRowItem.vue" //专利附图展示 import patentImage from "./patentImage/index.vue" var models = { myCustomSvg, myTree, myRichText, mySearch, myMenu, myView, mySelectButton, myFormSearch, myTimeChoose, myContextMenu, mySelectTree, myCard, myImageViewer, myUpload, myCascader, myTooltip, myIframe, //tab myTabs, myTabsItem, inventionPointDialog, menuInRow, menuInRowItem, patentImage } export default { install(Vue) { Object.keys(models).forEach((key) => { Vue.component(key, models[key]); }); }, };