Commit 5a3c9f5419cc1090803e17f0735b2f047aa6654a
1 parent
f3142485
perf: 移除 dialog 全局引入(全局引入XModel)
Showing
2 changed files
with
1 additions
and
2 deletions
yudao-ui-admin-vue3/src/components/UploadFile/src/UploadImg.vue
| ... | ... | @@ -29,6 +29,7 @@ |
| 29 | 29 | </template> |
| 30 | 30 | <script setup lang="ts"> |
| 31 | 31 | import { ref, watch } from 'vue' |
| 32 | +import { Dialog } from '@/components/Dialog' | |
| 32 | 33 | import { useMessage } from '@/hooks/web/useMessage' |
| 33 | 34 | import { propTypes } from '@/utils/propTypes' |
| 34 | 35 | import { getAccessToken, getTenantId } from '@/utils/auth' | ... | ... |
yudao-ui-admin-vue3/src/components/index.ts
| ... | ... | @@ -3,7 +3,6 @@ import { Icon } from './Icon' |
| 3 | 3 | import { Form } from '@/components/Form' |
| 4 | 4 | import { Table } from '@/components/Table' |
| 5 | 5 | import { Search } from '@/components/Search' |
| 6 | -import { Dialog } from '@/components/Dialog' | |
| 7 | 6 | import { XModal } from '@/components/XModal' |
| 8 | 7 | import { XButton, XTextButton } from '@/components/XButton' |
| 9 | 8 | import { DictTag } from '@/components/DictTag' |
| ... | ... | @@ -15,7 +14,6 @@ export const setupGlobCom = (app: App<Element>): void => { |
| 15 | 14 | app.component('Form', Form) |
| 16 | 15 | app.component('Table', Table) |
| 17 | 16 | app.component('Search', Search) |
| 18 | - app.component('Dialog', Dialog) | |
| 19 | 17 | app.component('XModal', XModal) |
| 20 | 18 | app.component('XButton', XButton) |
| 21 | 19 | app.component('XTextButton', XTextButton) | ... | ... |