From a72953ec052093f08a3ff55826c04fd0f6a71e0a Mon Sep 17 00:00:00 2001 From: lzp Date: Tue, 31 Mar 2026 16:14:52 +0800 Subject: [PATCH] 11 --- .../DepthCanvas/components/depth-header-tools.vue | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/components/Canvas/DepthCanvas/components/depth-header-tools.vue b/src/components/Canvas/DepthCanvas/components/depth-header-tools.vue index 11f25a7..cb7e3b7 100644 --- a/src/components/Canvas/DepthCanvas/components/depth-header-tools.vue +++ b/src/components/Canvas/DepthCanvas/components/depth-header-tools.vue @@ -13,7 +13,12 @@ > - +
v.hasOwnProperty('showChild') && (v.showChild = false)) v.on ? v.on() : toolManager.setTool(v.name) } - const onClickMore = (v: any) => { - tools.value.forEach((item) => { - if (item.hasOwnProperty('showChild') && item.name !== v.name) item.showChild = false - }) - v.showChild = !v.showChild - } const onImageClick = async () => { const layer = await importLocalImage(false) const id = layer?.info?.id