From bb696b300fb1307998db7e0914f7ad593e2f51ed Mon Sep 17 00:00:00 2001
From: ahao <liuhaoai545@gmail.com>
Date: 星期五, 05 一月 2024 11:42:36 +0800
Subject: [PATCH] update 升级依赖
---
src/views/system/user/index.vue | 4 ++--
package.json | 45 ++++++++++++++++++++++-----------------------
2 files changed, 24 insertions(+), 25 deletions(-)
diff --git a/package.json b/package.json
index 1395590..3e412a4 100644
--- a/package.json
+++ b/package.json
@@ -22,13 +22,13 @@
"@vueup/vue-quill": "1.2.0",
"@vueuse/core": "10.7.0",
"animate.css": "4.1.1",
- "await-to-js": "^3.0.0",
- "axios": "^1.6.0",
- "crypto-js": "^4.2.0",
+ "await-to-js": "3.0.0",
+ "axios": "1.6.0",
+ "crypto-js": "4.2.0",
"echarts": "5.4.3",
"element-plus": "2.4.4",
"file-saver": "2.0.5",
- "fuse.js": "6.6.2",
+ "fuse.js": "7.0.0",
"js-cookie": "3.0.5",
"jsencrypt": "3.3.2",
"nprogress": "0.2.0",
@@ -37,29 +37,28 @@
"pinia": "2.1.7",
"screenfull": "6.0.0",
"vform3-builds": "3.0.8",
- "vue": "3.3.13",
+ "vue": "3.4.5",
"vue-cropper": "1.1.1",
- "vue-i18n": "9.2.2",
+ "vue-i18n": "9.8.0",
"vue-router": "4.2.5",
"vue-types": "5.1.1"
},
"devDependencies": {
- "@iconify/json": "^2.2.157",
+ "@iconify/json": "2.2.157",
"@intlify/unplugin-vue-i18n": "1.6.0",
- "@types/crypto-js": "^4.2.0",
+ "@types/crypto-js": "4.2.0",
"@types/file-saver": "2.0.5",
"@types/js-cookie": "3.0.5",
"@types/node": "18.14.2",
"@types/nprogress": "0.2.0",
- "@types/path-browserify": "^1.0.0",
- "@typescript-eslint/eslint-plugin": "6.14.0",
- "@typescript-eslint/parser": "6.14.0",
- "@unocss/preset-attributify": "^0.58.0",
- "@unocss/preset-icons": "^0.58.0",
- "@unocss/preset-uno": "^0.58.0",
- "@vue/compiler-sfc": "3.3.11",
- "@vue/runtime-core": "3.3.11",
- "@vitejs/plugin-vue": "4.5.2",
+ "@types/path-browserify": "1.0.0",
+ "@typescript-eslint/eslint-plugin": "6.17.0",
+ "@typescript-eslint/parser": "6.17.0",
+ "@unocss/preset-attributify": "0.58.3",
+ "@unocss/preset-icons": "0.58.3",
+ "@unocss/preset-uno": "0.58.3",
+ "@vue/compiler-sfc": "3.4.5",
+ "@vitejs/plugin-vue": "5.0.2",
"autoprefixer": "10.4.14",
"eslint": "8.55.0",
"eslint-config-prettier": "9.1.0",
@@ -69,22 +68,22 @@
"eslint-plugin-node": "11.1.0",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-vue": "9.19.2",
- "fast-glob": "^3.2.11",
- "husky": "7.0.4",
- "postcss": "^8.4.21",
+ "fast-glob": "3.3.2",
+ "husky": "8.0.3",
+ "postcss": "8.4.33",
"prettier": "3.1.1",
"sass": "1.69.5",
"typescript": "5.3.3",
- "unocss": "^0.58.0",
+ "unocss": "0.58.0",
"unplugin-auto-import": "0.17.2",
"unplugin-icons": "0.18.1",
"unplugin-vue-components": "0.26.0",
"unplugin-vue-setup-extend-plus": "1.0.0",
"vite-plugin-compression": "0.5.1",
"vite-plugin-svg-icons": "2.0.1",
- "vitest": "^0.29.7",
+ "vitest": "0.29.7",
"vue-eslint-parser": "9.3.2",
"vue-tsc": "0.35.0",
- "vite": "5.0.5"
+ "vite": "5.0.10"
}
}
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 2de26a5..df8b192 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -298,12 +298,12 @@
<script setup name="User" lang="ts">
import api from '@/api/system/user';
import { UserForm, UserQuery, UserVO } from '@/api/system/user/types';
-import { treeselect } from '@/api/system/dept';
import { DeptVO } from '@/api/system/dept/types';
import { RoleVO } from '@/api/system/role/types';
import { PostVO } from '@/api/system/post/types';
-import { to } from 'await-to-js';
+import { treeselect } from '@/api/system/dept';
import { globalHeaders } from '@/utils/request';
+import { to } from 'await-to-js';
const router = useRouter();
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
--
Gitblit v1.9.3