From c79dd29e8bf3db6a39b03d96533ac007219eea9f Mon Sep 17 00:00:00 2001 From: wuyiping0628 <42107997+wuyiping0628@users.noreply.github.com> Date: Sun, 8 Dec 2024 23:53:12 -0800 Subject: [PATCH] feat(tree-menu): [tree-menu] Resolve the warning issue on the tree-menu (#2627) * feat(tree-menu): [tree-menu] Resolve the warning issue on the tree-menu page * feat(tree-menu): [tree-menu] Resolve the warning issue on the tree-menu page --- packages/vue/src/tree-menu/package.json | 2 +- packages/vue/src/tree-menu/src/props.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/vue/src/tree-menu/package.json b/packages/vue/src/tree-menu/package.json index f38ebe017b..828da4afa9 100644 --- a/packages/vue/src/tree-menu/package.json +++ b/packages/vue/src/tree-menu/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/vue-tree-menu", - "version": "3.20.0", + "version": "3.20.1", "description": "", "main": "lib/index.js", "module": "index.ts", diff --git a/packages/vue/src/tree-menu/src/props.ts b/packages/vue/src/tree-menu/src/props.ts index 47f5dab258..69f273c953 100644 --- a/packages/vue/src/tree-menu/src/props.ts +++ b/packages/vue/src/tree-menu/src/props.ts @@ -63,6 +63,10 @@ export const treeMenuProps = { type: Boolean, default: true }, + showExpand: { + type: Boolean, + default: false + }, collapsible: { type: Boolean, default: true