refactor: optimize the code

This commit is contained in:
zyronon
2024-04-23 18:30:03 +08:00
parent c64f5fad89
commit 934796b15e
7 changed files with 71 additions and 157 deletions

View File

@@ -26,17 +26,12 @@
"axios": "^1.6.8",
"axios-mock-adapter": "^1.22.0",
"core-js": "3.21.1",
"dayjs": "1.11.0",
"gl-matrix": "3.4.3",
"jquery": "^3.7.1",
"libarchive-wasm": "^1.1.0",
"mitt": "3.0.0",
"mobile-select": "1.1.2",
"mockjs": "^1.1.0",
"pinia": "^2.1.7",
"vue": "3.4.21",
"vue-router": "4.3.0",
"vue-switches": "2.0.1",
"libarchive-wasm": "^1.1.0"
"vue-router": "4.3.0"
},
"devDependencies": {
"@commitlint/cli": "^19.2.1",
@@ -56,6 +51,7 @@
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.17.0",
"git-last-commit": "^1.0.1",
"husky": "^9.0.11",
"less": "4.1.3",
"lint-staged": "^15.2.2",
@@ -66,8 +62,7 @@
"vite": "^5.1.7",
"vite-plugin-cdn-import": "0.3.5",
"vite-plugin-commonjs": "^0.10.1",
"vue-tsc": "^2.0.6",
"git-last-commit": "^1.0.1"
"vue-tsc": "^2.0.6"
},
"lint-staged": {
"*.{js,ts,vue,jsx,tsx}": [