refactor: 清理代码格式和依赖配置

- 统一代码格式规范,移除多余空行和注释
- 更新项目依赖配置和构建设置
- 优化注册页面组件的代码结构
- 调整HTTP客户端配置以适配错误处理机制
This commit is contained in:
Leo 2025-07-09 14:51:30 +08:00
parent 849ff71393
commit b430f4ef1e
3 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
{ {
"name": "nova-admin", "name": "coi-admin",
"type": "module", "type": "module",
"version": "0.9.15", "version": "0.9.15",
"private": true, "private": true,

View File

@ -1,5 +1,5 @@
import { local } from '@/utils' import { local } from '@/utils'
import { coiMsgWarning } from '@/utils/coi' import { coiMsgError } from '@/utils/coi'
import { createAlova } from 'alova' import { createAlova } from 'alova'
import { createServerTokenAuthentication } from 'alova/client' import { createServerTokenAuthentication } from 'alova/client'
import adapterFetch from 'alova/fetch' import adapterFetch from 'alova/fetch'
@ -105,7 +105,7 @@ export function createAlovaInstance(
userMessage = '文件大小超出限制,请选择较小的文件' userMessage = '文件大小超出限制,请选择较小的文件'
} }
coiMsgWarning(userMessage) coiMsgError(userMessage)
}, },
onComplete: async (_method) => { onComplete: async (_method) => {

View File

@ -110,7 +110,7 @@ const rules = {
}, },
} }
const formValue = ref({ const formValue = ref({
account: 'admin', account: 'yuadmin',
pwd: '000000', pwd: '000000',
rePwd: '000000', rePwd: '000000',
}) })