- ApplyView 的'姓名'字段(2~10 个汉字)替代自定义用户名
- 前端经 pinyin-pro(toneType:none + surname:head 处理姓氏多音字)转拼音作为用户名
- 提交前兜底校验拼音用户名长度(后端规则 [a-z][a-z0-9]{1,31})
- alert 文案改为实时预览 '通过后自动创建账号 ext_<username>'
- 新增依赖 pinyin-pro@3.29.3
29 lines
636 B
JSON
29 lines
636 B
JSON
{
|
|
"name": "ws-usernode-web",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc --noEmit && vite build",
|
|
"preview": "vite preview",
|
|
"typecheck": "vue-tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@element-plus/icons-vue": "^2.3.1",
|
|
"axios": "^1.7.9",
|
|
"element-plus": "^2.9.3",
|
|
"pinia": "^2.3.1",
|
|
"pinyin-pro": "^3.29.3",
|
|
"vue": "^3.5.13",
|
|
"vue-router": "^4.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.7",
|
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
"typescript": "^5.7.3",
|
|
"vite": "^6.0.11",
|
|
"vue-tsc": "^2.2.0"
|
|
}
|
|
}
|