chore: 优化 apis 导入,随着模块和接口的增加,方便维护

This commit is contained in:
2024-09-06 21:14:13 +08:00
parent cb03111c22
commit 8a80db0f92
80 changed files with 210 additions and 179 deletions

View File

@@ -107,7 +107,7 @@ import {
listOption,
resetOptionValue,
updateOption
} from '@/apis'
} from '@/apis/system'
import { useAppStore } from '@/stores'
import { useForm } from '@/hooks'
import { fileToBase64 } from '@/utils'

View File

@@ -61,7 +61,7 @@ import {
listOption,
resetOptionValue,
updateOption
} from '@/apis'
} from '@/apis/system'
import { useForm } from '@/hooks'
defineOptions({ name: 'MailSetting' })

View File

@@ -81,7 +81,7 @@
<script setup lang="ts">
import { useWindowSize } from '@vueuse/core'
import { type FormInstance, Message, Modal } from '@arco-design/web-vue'
import { type OptionResp, type SecurityConfig, listOption, resetOptionValue, updateOption } from '@/apis'
import { type OptionResp, type SecurityConfig, listOption, resetOptionValue, updateOption } from '@/apis/system'
import { useForm } from '@/hooks'
defineOptions({ name: 'SecuritySetting' })