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