移除 Form、Table、Search、XButton、XTextButton、DictTag、ContentWrap、Descriptions 的全局注册
This commit is contained in:
parent
30685bee75
commit
d32537e3ef
@ -1,21 +1,6 @@
|
|||||||
import type { App } from 'vue'
|
import type { App } from 'vue'
|
||||||
import { Icon } from './Icon'
|
import { Icon } from './Icon'
|
||||||
import { Form } from '@/components/Form'
|
|
||||||
import { Table } from '@/components/Table'
|
|
||||||
import { Search } from '@/components/Search'
|
|
||||||
import { XButton, XTextButton } from '@/components/XButton'
|
|
||||||
import { DictTag } from '@/components/DictTag'
|
|
||||||
import { ContentWrap } from '@/components/ContentWrap'
|
|
||||||
import { Descriptions } from '@/components/Descriptions'
|
|
||||||
|
|
||||||
export const setupGlobCom = (app: App<Element>): void => {
|
export const setupGlobCom = (app: App<Element>): void => {
|
||||||
app.component('Icon', Icon)
|
app.component('Icon', Icon)
|
||||||
app.component('Form', Form)
|
|
||||||
app.component('Table', Table)
|
|
||||||
app.component('Search', Search)
|
|
||||||
app.component('XButton', XButton)
|
|
||||||
app.component('XTextButton', XTextButton)
|
|
||||||
app.component('DictTag', DictTag)
|
|
||||||
app.component('ContentWrap', ContentWrap)
|
|
||||||
app.component('Descriptions', Descriptions)
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user