diff --git a/src/components/Canvas/DepthCanvas/components/depth-header-tools.vue b/src/components/Canvas/DepthCanvas/components/depth-header-tools.vue index 11f25a7..b5350e8 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 @@ > - +
@@ -166,16 +171,10 @@ parent.name = v.name parent.icon = v.icon parent.iconSize = v.iconSize * 1.23 + parent.showChild = false } - tools.value.forEach((v) => 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