chore: 更新依赖

This commit is contained in:
Hooray Hu 2024-07-18 11:28:31 +08:00
parent b8e53fb259
commit 5d0141011b
4 changed files with 1962 additions and 1336 deletions

View File

@ -12,6 +12,10 @@ export default antfu(
rules: {
'eslint-comments/no-unlimited-disable': 'off',
'curly': ['error', 'all'],
'ts/no-unused-expressions': ['error', {
allowShortCircuit: true,
allowTernary: true,
}],
},
},
{

View File

@ -31,29 +31,29 @@
"dayjs": "^1.11.11",
"defu": "^6.1.4",
"disable-devtool": "^0.3.7",
"element-plus": "^2.7.6",
"eruda": "^3.0.1",
"element-plus": "^2.7.7",
"eruda": "^3.2.0",
"floating-vue": "5.2.2",
"hotkeys-js": "^3.13.7",
"lodash-es": "^4.17.21",
"mitt": "^3.0.1",
"mockjs": "^1.1.0",
"nprogress": "^0.2.0",
"overlayscrollbars": "^2.9.1",
"overlayscrollbars": "^2.9.2",
"overlayscrollbars-vue": "^0.5.9",
"path-browserify": "^1.0.1",
"path-to-regexp": "^7.0.0",
"path-to-regexp": "^7.1.0",
"pinia": "^2.1.7",
"qs": "^6.12.1",
"qs": "^6.12.3",
"scule": "^1.3.0",
"vconsole": "^3.15.1",
"vue": "^3.4.31",
"vue": "^3.4.32",
"vue-m-message": "^4.0.2",
"vue-router": "^4.4.0"
},
"devDependencies": {
"@antfu/eslint-config": "2.21.2",
"@iconify/json": "^2.2.223",
"@antfu/eslint-config": "2.23.0",
"@iconify/json": "^2.2.228",
"@iconify/vue": "^4.1.2",
"@stylistic/stylelint-config": "^1.0.1",
"@types/lodash-es": "^4.17.12",
@ -61,47 +61,47 @@
"@types/nprogress": "^0.2.3",
"@types/path-browserify": "^1.0.2",
"@types/qs": "^6.9.15",
"@unocss/eslint-plugin": "^0.61.0",
"@unocss/eslint-plugin": "^0.61.5",
"@vitejs/plugin-legacy": "^5.4.1",
"@vitejs/plugin-vue": "^5.0.5",
"@vitejs/plugin-vue-jsx": "^4.0.0",
"archiver": "^7.0.1",
"autoprefixer": "^10.4.19",
"boxen": "^7.1.1",
"boxen": "^8.0.0",
"bumpp": "^9.4.1",
"cz-git": "^1.9.3",
"eslint": "^9.6.0",
"eslint": "^9.7.0",
"esno": "^4.7.0",
"fs-extra": "^11.2.0",
"http-server": "^14.1.1",
"inquirer": "^9.3.1",
"inquirer": "^10.0.3",
"lint-staged": "^15.2.7",
"npm-run-all2": "^6.2.0",
"npm-run-all2": "^6.2.2",
"picocolors": "^1.0.1",
"plop": "^4.0.1",
"postcss": "^8.4.38",
"sass": "^1.77.6",
"postcss": "^8.4.39",
"sass": "^1.77.8",
"simple-git-hooks": "^2.11.1",
"stylelint": "^16.6.1",
"stylelint": "^16.7.0",
"stylelint-config-recess-order": "^5.0.1",
"stylelint-config-standard-scss": "^13.1.0",
"stylelint-config-standard-vue": "^1.0.0",
"stylelint-scss": "^6.3.2",
"stylelint-scss": "^6.4.1",
"svgo": "^3.3.2",
"typescript": "^5.5.2",
"unocss": "^0.61.0",
"unplugin-auto-import": "^0.17.6",
"unplugin-turbo-console": "^1.8.9",
"unplugin-vue-components": "^0.27.2",
"vite": "^5.3.2",
"typescript": "^5.5.3",
"unocss": "^0.61.5",
"unplugin-auto-import": "^0.18.0",
"unplugin-turbo-console": "^1.9.11",
"unplugin-vue-components": "^0.27.3",
"vite": "^5.3.4",
"vite-plugin-banner": "^0.7.1",
"vite-plugin-compression2": "^1.1.1",
"vite-plugin-compression2": "^1.1.2",
"vite-plugin-fake-server": "^2.1.1",
"vite-plugin-pages": "^0.32.3",
"vite-plugin-svg-icons": "^2.0.1",
"vite-plugin-vue-devtools": "^7.3.5",
"vite-plugin-vue-devtools": "^7.3.6",
"vite-plugin-vue-meta-layouts": "^0.4.3",
"vue-tsc": "^2.0.22"
"vue-tsc": "^2.0.26"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",

File diff suppressed because it is too large Load Diff

View File

@ -51,7 +51,7 @@ const loginRules = ref<FormRules>({
],
})
function handleLogin() {
loginFormRef.value && loginFormRef.value.validate((valid) => {
loginFormRef.value?.validate((valid) => {
if (valid) {
loading.value = true
userStore.login(loginForm.value).then(() => {
@ -108,7 +108,7 @@ function handleRegister() {
message: '注册模块仅提供界面演示,无实际功能,需开发者自行扩展',
type: 'warning',
})
registerFormRef.value && registerFormRef.value.validate((valid) => {
registerFormRef.value?.validate((valid) => {
if (valid) {
//
}
@ -139,7 +139,7 @@ function handleReset() {
message: '重置密码仅提供界面演示,无实际功能,需开发者自行扩展',
type: 'info',
})
resetFormRef.value && resetFormRef.value.validate((valid) => {
resetFormRef.value?.validate((valid) => {
if (valid) {
//
}