mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-11-13 16:57:10 +08:00
chore: 优化 apis 导入,随着模块和接口的增加,方便维护
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -61,7 +61,7 @@ import {
|
||||
listOption,
|
||||
resetOptionValue,
|
||||
updateOption
|
||||
} from '@/apis'
|
||||
} from '@/apis/system'
|
||||
import { useForm } from '@/hooks'
|
||||
|
||||
defineOptions({ name: 'MailSetting' })
|
||||
|
||||
@@ -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' })
|
||||
|
||||
Reference in New Issue
Block a user