Commit 0827235c920356763d39f9c5c59840c13c86f0aa

Authored by xingyu
1 parent 8c74e527

perf: auto import

yudao-ui-admin-vue3/src/views/infra/config/index.vue
@@ -83,8 +83,6 @@ @@ -83,8 +83,6 @@
83 </XModal> 83 </XModal>
84 </template> 84 </template>
85 <script setup lang="ts" name="Config"> 85 <script setup lang="ts" name="Config">
86 -// 全局相关的 import  
87 -  
88 import type { FormExpose } from '@/components/Form' 86 import type { FormExpose } from '@/components/Form'
89 // 业务相关的 import 87 // 业务相关的 import
90 import * as ConfigApi from '@/api/infra/config' 88 import * as ConfigApi from '@/api/infra/config'
yudao-ui-admin-vue3/src/views/infra/dataSourceConfig/index.vue
@@ -66,8 +66,6 @@ @@ -66,8 +66,6 @@
66 </XModal> 66 </XModal>
67 </template> 67 </template>
68 <script setup lang="ts" name="DataSourceConfig"> 68 <script setup lang="ts" name="DataSourceConfig">
69 -// 全局相关的 import  
70 -  
71 import type { FormExpose } from '@/components/Form' 69 import type { FormExpose } from '@/components/Form'
72 // 业务相关的 import 70 // 业务相关的 import
73 import * as DataSourceConfiggApi from '@/api/infra/dataSourceConfig' 71 import * as DataSourceConfiggApi from '@/api/infra/dataSourceConfig'
yudao-ui-admin-vue3/src/views/infra/fileConfig/index.vue
@@ -158,9 +158,7 @@ @@ -158,9 +158,7 @@
158 </XModal> 158 </XModal>
159 </template> 159 </template>
160 <script setup lang="ts" name="FileConfig"> 160 <script setup lang="ts" name="FileConfig">
161 -// 全局相关的 import  
162 import type { FormInstance } from 'element-plus' 161 import type { FormInstance } from 'element-plus'
163 -  
164 // 业务相关的 import 162 // 业务相关的 import
165 import * as FileConfigApi from '@/api/infra/fileConfig' 163 import * as FileConfigApi from '@/api/infra/fileConfig'
166 import { rules, allSchemas } from './fileConfig.data' 164 import { rules, allSchemas } from './fileConfig.data'
yudao-ui-admin-vue3/src/views/system/errorCode/index.vue
@@ -67,8 +67,6 @@ @@ -67,8 +67,6 @@
67 </XModal> 67 </XModal>
68 </template> 68 </template>
69 <script setup lang="ts" name="ErrorCode"> 69 <script setup lang="ts" name="ErrorCode">
70 -// 全局相关的 import  
71 -  
72 import type { FormExpose } from '@/components/Form' 70 import type { FormExpose } from '@/components/Form'
73 // 业务相关的 import 71 // 业务相关的 import
74 import { rules, allSchemas } from './errorCode.data' 72 import { rules, allSchemas } from './errorCode.data'
yudao-ui-admin-vue3/src/views/system/menu/index.vue
@@ -175,7 +175,6 @@ @@ -175,7 +175,6 @@
175 </XModal> 175 </XModal>
176 </template> 176 </template>
177 <script setup lang="ts" name="Menu"> 177 <script setup lang="ts" name="Menu">
178 -// 全局相关的 import  
179 import { CACHE_KEY, useCache } from '@/hooks/web/useCache' 178 import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
180 import { FormInstance } from 'element-plus' 179 import { FormInstance } from 'element-plus'
181 // 业务相关的 import 180 // 业务相关的 import
yudao-ui-admin-vue3/src/views/system/notice/index.vue
@@ -71,7 +71,6 @@ @@ -71,7 +71,6 @@
71 </XModal> 71 </XModal>
72 </template> 72 </template>
73 <script setup lang="ts" name="Notice"> 73 <script setup lang="ts" name="Notice">
74 -// 全局相关的 import  
75 import type { FormExpose } from '@/components/Form' 74 import type { FormExpose } from '@/components/Form'
76 // 业务相关的 import 75 // 业务相关的 import
77 import * as NoticeApi from '@/api/system/notice' 76 import * as NoticeApi from '@/api/system/notice'
yudao-ui-admin-vue3/src/views/system/oauth2/client/index.vue
@@ -130,7 +130,6 @@ @@ -130,7 +130,6 @@
130 </XModal> 130 </XModal>
131 </template> 131 </template>
132 <script setup lang="ts" name="Client"> 132 <script setup lang="ts" name="Client">
133 -// 全局相关的 import  
134 import type { FormExpose } from '@/components/Form' 133 import type { FormExpose } from '@/components/Form'
135 // 业务相关的 import 134 // 业务相关的 import
136 import * as ClientApi from '@/api/system/oauth2/client' 135 import * as ClientApi from '@/api/system/oauth2/client'
yudao-ui-admin-vue3/src/views/system/post/index.vue
@@ -72,7 +72,6 @@ @@ -72,7 +72,6 @@
72 </XModal> 72 </XModal>
73 </template> 73 </template>
74 <script setup lang="ts" name="Post"> 74 <script setup lang="ts" name="Post">
75 -// 全局相关的 import  
76 import type { FormExpose } from '@/components/Form' 75 import type { FormExpose } from '@/components/Form'
77 // 业务相关的 import 76 // 业务相关的 import
78 import * as PostApi from '@/api/system/post' 77 import * as PostApi from '@/api/system/post'