mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	perf: 移除 dialog 全局引入(全局引入XModel)
This commit is contained in:
		| @@ -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' | ||||
|   | ||||
| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 xingyu4j
					xingyu4j