perf: auto import
This commit is contained in:
parent
8c74e527a9
commit
0827235c92
@ -83,8 +83,6 @@
|
||||
</XModal>
|
||||
</template>
|
||||
<script setup lang="ts" name="Config">
|
||||
// 全局相关的 import
|
||||
|
||||
import type { FormExpose } from '@/components/Form'
|
||||
// 业务相关的 import
|
||||
import * as ConfigApi from '@/api/infra/config'
|
||||
|
@ -66,8 +66,6 @@
|
||||
</XModal>
|
||||
</template>
|
||||
<script setup lang="ts" name="DataSourceConfig">
|
||||
// 全局相关的 import
|
||||
|
||||
import type { FormExpose } from '@/components/Form'
|
||||
// 业务相关的 import
|
||||
import * as DataSourceConfiggApi from '@/api/infra/dataSourceConfig'
|
||||
|
@ -158,9 +158,7 @@
|
||||
</XModal>
|
||||
</template>
|
||||
<script setup lang="ts" name="FileConfig">
|
||||
// 全局相关的 import
|
||||
import type { FormInstance } from 'element-plus'
|
||||
|
||||
// 业务相关的 import
|
||||
import * as FileConfigApi from '@/api/infra/fileConfig'
|
||||
import { rules, allSchemas } from './fileConfig.data'
|
||||
|
@ -67,8 +67,6 @@
|
||||
</XModal>
|
||||
</template>
|
||||
<script setup lang="ts" name="ErrorCode">
|
||||
// 全局相关的 import
|
||||
|
||||
import type { FormExpose } from '@/components/Form'
|
||||
// 业务相关的 import
|
||||
import { rules, allSchemas } from './errorCode.data'
|
||||
|
@ -175,7 +175,6 @@
|
||||
</XModal>
|
||||
</template>
|
||||
<script setup lang="ts" name="Menu">
|
||||
// 全局相关的 import
|
||||
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
|
||||
import { FormInstance } from 'element-plus'
|
||||
// 业务相关的 import
|
||||
|
@ -71,7 +71,6 @@
|
||||
</XModal>
|
||||
</template>
|
||||
<script setup lang="ts" name="Notice">
|
||||
// 全局相关的 import
|
||||
import type { FormExpose } from '@/components/Form'
|
||||
// 业务相关的 import
|
||||
import * as NoticeApi from '@/api/system/notice'
|
||||
|
@ -130,7 +130,6 @@
|
||||
</XModal>
|
||||
</template>
|
||||
<script setup lang="ts" name="Client">
|
||||
// 全局相关的 import
|
||||
import type { FormExpose } from '@/components/Form'
|
||||
// 业务相关的 import
|
||||
import * as ClientApi from '@/api/system/oauth2/client'
|
||||
|
@ -72,7 +72,6 @@
|
||||
</XModal>
|
||||
</template>
|
||||
<script setup lang="ts" name="Post">
|
||||
// 全局相关的 import
|
||||
import type { FormExpose } from '@/components/Form'
|
||||
// 业务相关的 import
|
||||
import * as PostApi from '@/api/system/post'
|
||||
|
Loading…
Reference in New Issue
Block a user