From 83b72e7403adf10a994ed7877f9f0b1597ca3732 Mon Sep 17 00:00:00 2001 From: mayswind Date: Wed, 14 Jun 2023 09:12:50 +0800 Subject: [PATCH] remove duplicated code --- src/components/mobile/TreeViewSelectionSheet.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/mobile/TreeViewSelectionSheet.vue b/src/components/mobile/TreeViewSelectionSheet.vue index e4adab95..13cd7ae6 100644 --- a/src/components/mobile/TreeViewSelectionSheet.vue +++ b/src/components/mobile/TreeViewSelectionSheet.vue @@ -80,8 +80,6 @@ export default { if (isArray(this.items)) { count = this.items.length; } else { - let count = 0; - for (let field in this.items) { if (!Object.prototype.hasOwnProperty.call(this.items, field)) { continue;