| | |
| | | /* |
| | | * @Date: 2024-03-23 09:49:06 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-06-16 15:38:54 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/scui.js |
| | | */ |
| | | import config from "./config" |
| | | import api from './api' |
| | | import tool from './utils/tool' |
| | |
| | | import scForm from './components/scForm' |
| | | import scTitle from './components/scTitle' |
| | | import scWaterMark from './components/scWaterMark' |
| | | import scMyFilePreview from './components/scMyFilePreview' |
| | | import scQrCode from './components/scQrCode' |
| | | |
| | | import scStatusIndicator from './components/scMini/scStatusIndicator' |
| | |
| | | //注册全局组件 |
| | | app.component('scTable', scTable); |
| | | app.component('scTableColumn', scTableColumn); |
| | | app.component('scMyFilePreview', scMyFilePreview); |
| | | app.component('scFilterBar', scFilterBar); |
| | | app.component('scUpload', scUpload); |
| | | app.component('scUploadMultiple', scUploadMultiple); |
| | |
| | | app.directive('copy', copy) |
| | | |
| | | //统一注册el-icon图标 |
| | | for(let icon in elIcons){ |
| | | for (let icon in elIcons) { |
| | | app.component(`ElIcon${icon}`, elIcons[icon]) |
| | | } |
| | | //统一注册sc-icon图标 |
| | | for(let icon in scIcons){ |
| | | for (let icon in scIcons) { |
| | | app.component(`ScIcon${icon}`, scIcons[icon]) |
| | | } |
| | | |