perf: 移除 dialog 全局引入(全局引入XModel)

This commit is contained in:
xingyu4j 2022-12-07 10:51:49 +08:00
parent f3142485d0
commit 5a3c9f5419
2 changed files with 1 additions and 2 deletions

View File

@ -29,6 +29,7 @@
</template>
<script setup lang="ts">
import { ref, watch } from 'vue'
import { Dialog } from '@/components/Dialog'
import { useMessage } from '@/hooks/web/useMessage'
import { propTypes } from '@/utils/propTypes'
import { getAccessToken, getTenantId } from '@/utils/auth'

View File

@ -3,7 +3,6 @@ import { Icon } from './Icon'
import { Form } from '@/components/Form'
import { Table } from '@/components/Table'
import { Search } from '@/components/Search'
import { Dialog } from '@/components/Dialog'
import { XModal } from '@/components/XModal'
import { XButton, XTextButton } from '@/components/XButton'
import { DictTag } from '@/components/DictTag'
@ -15,7 +14,6 @@ export const setupGlobCom = (app: App<Element>): void => {
app.component('Form', Form)
app.component('Table', Table)
app.component('Search', Search)
app.component('Dialog', Dialog)
app.component('XModal', XModal)
app.component('XButton', XButton)
app.component('XTextButton', XTextButton)