perf: auto import

pull/2/head
xingyu 2023-01-18 14:25:47 +08:00
parent 8c74e527a9
commit 0827235c92
8 changed files with 0 additions and 12 deletions

View File

@ -83,8 +83,6 @@
</XModal> </XModal>
</template> </template>
<script setup lang="ts" name="Config"> <script setup lang="ts" name="Config">
// import
import type { FormExpose } from '@/components/Form' import type { FormExpose } from '@/components/Form'
// import // import
import * as ConfigApi from '@/api/infra/config' import * as ConfigApi from '@/api/infra/config'

View File

@ -66,8 +66,6 @@
</XModal> </XModal>
</template> </template>
<script setup lang="ts" name="DataSourceConfig"> <script setup lang="ts" name="DataSourceConfig">
// import
import type { FormExpose } from '@/components/Form' import type { FormExpose } from '@/components/Form'
// import // import
import * as DataSourceConfiggApi from '@/api/infra/dataSourceConfig' import * as DataSourceConfiggApi from '@/api/infra/dataSourceConfig'

View File

@ -158,9 +158,7 @@
</XModal> </XModal>
</template> </template>
<script setup lang="ts" name="FileConfig"> <script setup lang="ts" name="FileConfig">
// import
import type { FormInstance } from 'element-plus' import type { FormInstance } from 'element-plus'
// import // import
import * as FileConfigApi from '@/api/infra/fileConfig' import * as FileConfigApi from '@/api/infra/fileConfig'
import { rules, allSchemas } from './fileConfig.data' import { rules, allSchemas } from './fileConfig.data'

View File

@ -67,8 +67,6 @@
</XModal> </XModal>
</template> </template>
<script setup lang="ts" name="ErrorCode"> <script setup lang="ts" name="ErrorCode">
// import
import type { FormExpose } from '@/components/Form' import type { FormExpose } from '@/components/Form'
// import // import
import { rules, allSchemas } from './errorCode.data' import { rules, allSchemas } from './errorCode.data'

View File

@ -175,7 +175,6 @@
</XModal> </XModal>
</template> </template>
<script setup lang="ts" name="Menu"> <script setup lang="ts" name="Menu">
// import
import { CACHE_KEY, useCache } from '@/hooks/web/useCache' import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
import { FormInstance } from 'element-plus' import { FormInstance } from 'element-plus'
// import // import

View File

@ -71,7 +71,6 @@
</XModal> </XModal>
</template> </template>
<script setup lang="ts" name="Notice"> <script setup lang="ts" name="Notice">
// import
import type { FormExpose } from '@/components/Form' import type { FormExpose } from '@/components/Form'
// import // import
import * as NoticeApi from '@/api/system/notice' import * as NoticeApi from '@/api/system/notice'

View File

@ -130,7 +130,6 @@
</XModal> </XModal>
</template> </template>
<script setup lang="ts" name="Client"> <script setup lang="ts" name="Client">
// import
import type { FormExpose } from '@/components/Form' import type { FormExpose } from '@/components/Form'
// import // import
import * as ClientApi from '@/api/system/oauth2/client' import * as ClientApi from '@/api/system/oauth2/client'

View File

@ -72,7 +72,6 @@
</XModal> </XModal>
</template> </template>
<script setup lang="ts" name="Post"> <script setup lang="ts" name="Post">
// import
import type { FormExpose } from '@/components/Form' import type { FormExpose } from '@/components/Form'
// import // import
import * as PostApi from '@/api/system/post' import * as PostApi from '@/api/system/post'