mirror of
https://github.com/certd/certd.git
synced 2026-07-10 06:57:31 +08:00
refactor: export
This commit is contained in:
@@ -14,7 +14,6 @@ import {
|
||||
Divider,
|
||||
Dropdown,
|
||||
Form,
|
||||
Icon,
|
||||
Input,
|
||||
InputNumber,
|
||||
Layout,
|
||||
@@ -51,7 +50,6 @@ const list = {
|
||||
Divider,
|
||||
Dropdown,
|
||||
Form,
|
||||
Icon,
|
||||
Input,
|
||||
InputNumber,
|
||||
Layout,
|
||||
@@ -78,11 +76,11 @@ export default function (app) {
|
||||
//
|
||||
// app.config.globalProperties.$message = message
|
||||
// app.config.globalProperties.$notification = notification
|
||||
// app.config.globalProperties.$info = Modal.info
|
||||
// app.config.globalProperties.$success = Modal.success
|
||||
// app.config.globalProperties.$error = Modal.error
|
||||
// app.config.globalProperties.$warning = Modal.warning
|
||||
// app.config.globalProperties.$confirm = Modal.confirm
|
||||
// app.config.globalProperties.$destroyAll = Modal.destroyAll
|
||||
app.config.globalProperties.$info = Modal.info
|
||||
app.config.globalProperties.$success = Modal.success
|
||||
app.config.globalProperties.$error = Modal.error
|
||||
app.config.globalProperties.$warning = Modal.warning
|
||||
app.config.globalProperties.$confirm = Modal.confirm
|
||||
app.config.globalProperties.$destroyAll = Modal.destroyAll
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
import { createApp } from 'vue'
|
||||
import router from './router'
|
||||
import App from './App.vue'
|
||||
import Antd from 'ant-design-vue'
|
||||
import 'ant-design-vue/dist/antd.css'
|
||||
import './style/common.less'
|
||||
import { i18n } from './i18n'
|
||||
import icons from './icons'
|
||||
import antdv from './antdv'
|
||||
import components from './components'
|
||||
const app = createApp(App)
|
||||
app.config.productionTip = false
|
||||
app.use(i18n)
|
||||
app.use(Antd)
|
||||
icons(app)
|
||||
antdv(app)
|
||||
// eslint-disable-next-line
|
||||
import './style/common.less'
|
||||
app.use(components)
|
||||
app.use(router).mount('#app')
|
||||
|
||||
Reference in New Issue
Block a user