Commit f79cae63d9f041242374424f3a521b2a960b0cb2

Authored by Vben
1 parent 8b62fa0c

chore: update deps

package.json
@@ -101,7 +101,7 @@ @@ -101,7 +101,7 @@
101 "stylelint-order": "^4.1.0", 101 "stylelint-order": "^4.1.0",
102 "ts-node": "^9.1.1", 102 "ts-node": "^9.1.1",
103 "typescript": "4.2.2", 103 "typescript": "4.2.2",
104 - "vite": "^2.0.4", 104 + "vite": "^2.0.5",
105 "vite-plugin-compression": "^0.2.3", 105 "vite-plugin-compression": "^0.2.3",
106 "vite-plugin-html": "^2.0.3", 106 "vite-plugin-html": "^2.0.3",
107 "vite-plugin-imagemin": "^0.2.9", 107 "vite-plugin-imagemin": "^0.2.9",
src/components/Tree/src/useTree.ts
@@ -39,7 +39,7 @@ export function useTree( @@ -39,7 +39,7 @@ export function useTree(
39 const res: (string | number)[] = []; 39 const res: (string | number)[] = [];
40 const data = list || unref(treeDataRef) || []; 40 const data = list || unref(treeDataRef) || [];
41 for (let index = 0; index < data.length; index++) { 41 for (let index = 0; index < data.length; index++) {
42 - const item = data[index] as any; 42 + const item = data[index];
43 43
44 const { key: keyField, children: childrenField } = unref(getReplaceFields); 44 const { key: keyField, children: childrenField } = unref(getReplaceFields);
45 const key = keyField ? item[keyField] : ''; 45 const key = keyField ? item[keyField] : '';
yarn.lock
@@ -8965,10 +8965,10 @@ vite-plugin-windicss@0.6.2: @@ -8965,10 +8965,10 @@ vite-plugin-windicss@0.6.2:
8965 "@windicss/plugin-utils" "0.6.2" 8965 "@windicss/plugin-utils" "0.6.2"
8966 windicss "^2.2.0" 8966 windicss "^2.2.0"
8967 8967
8968 -vite@^2.0.4:  
8969 - version "2.0.4"  
8970 - resolved "https://registry.npmjs.org/vite/-/vite-2.0.4.tgz#063532a4139b59a067297d8ebb5960d450907a09"  
8971 - integrity sha512-+PP89D7AKXFE4gps8c5+4eP5yXTh5qCogjdYX7iSsIxbLZAa26JoGSq6OLk0qdb/fqDh7gtJqGiLbG2V6NvkKQ== 8968 +vite@^2.0.5:
  8969 + version "2.0.5"
  8970 + resolved "https://registry.npmjs.org/vite/-/vite-2.0.5.tgz#ac46857a3fa8686d077921e61bd48a986931df1d"
  8971 + integrity sha512-QTgEDbq1WsTtr6j+++ewjhBFEk6c8v0xz4fb/OWJQKNYU8ZZtphOshwOqAlnarSstPBtWCBR0tsugXx6ajfoUg==
8972 dependencies: 8972 dependencies:
8973 esbuild "^0.8.52" 8973 esbuild "^0.8.52"
8974 postcss "^8.2.1" 8974 postcss "^8.2.1"