From 628650ce7ceb35a70142603dca41ecfae5fc800a Mon Sep 17 00:00:00 2001 From: icssoa <615206459@qq.com> Date: Fri, 5 Aug 2022 12:07:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3cl-table=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=97=B6=E9=AB=98=E5=BA=A6=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/cool/utils/index.ts | 2 +- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 9176d35..2bdeea5 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "dependencies": { "@codemirror/lang-javascript": "^6.0.1", "@codemirror/theme-one-dark": "^6.0.0", - "@cool-vue/crud": "^5.3.5", + "@cool-vue/crud": "^5.3.6", "@element-plus/icons-vue": "^2.0.6", "@vueuse/core": "^8.9.4", "axios": "^0.27.2", diff --git a/src/cool/utils/index.ts b/src/cool/utils/index.ts index 791bdc5..5686ea3 100644 --- a/src/cool/utils/index.ts +++ b/src/cool/utils/index.ts @@ -236,7 +236,7 @@ export function deepTree(list: any[]): any[] { fn(newList); - return orderBy(newList, "orderNum").filter((e) => !e.parentId); + return orderBy(newList, "orderNum"); } // 树形转列表 diff --git a/yarn.lock b/yarn.lock index c4da194..ceebf23 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1052,10 +1052,10 @@ style-mod "^4.0.0" w3c-keyname "^2.2.4" -"@cool-vue/crud@^5.3.5": - version "5.3.5" - resolved "https://registry.npmjs.org/@cool-vue/crud/-/crud-5.3.5.tgz#350d7b307ce1d0445b78f179ec2d0f16eb91b99c" - integrity sha512-xWwxv2zQCYGt4GqHg1vDEsiv2sGhJCKYKjxDW6hTo5O/oNuzm8uVcWGVGKyYn5y8//F8wcmod4Kk1L/OvdvS5w== +"@cool-vue/crud@^5.3.6": + version "5.3.6" + resolved "https://registry.npmjs.org/@cool-vue/crud/-/crud-5.3.6.tgz#2e7fe0e482c25f5181929810e9ec6c9e6557c966" + integrity sha512-4cim6t5XpCOnbhEV9cA9akwr45fd/zsGJeLQEv4s7e1dqRRzEDXYa8tIDTZV+LDOLNcevWga/i7AlmmPTc5Q6w== dependencies: array.prototype.flat "^1.2.4" core-js "^3.21.1"