diff --git a/packages/opendesign/src/anchor/OAnchorItem.vue b/packages/opendesign/src/anchor/OAnchorItem.vue index 2e91f7912bddf152596b70d1f408e3126137d9f3..4d153688abaa2b901ca7d02183e8ffca7e29b0ec 100644 --- a/packages/opendesign/src/anchor/OAnchorItem.vue +++ b/packages/opendesign/src/anchor/OAnchorItem.vue @@ -41,16 +41,6 @@ watch( const depth = anchorItemInjection ? anchorItemInjection.depth + 1 : 1; -const style = computed(() => { - if (depth === 1) { - return {}; - } else { - return { - paddingLeft: `${12 * (depth - 1) + 8}px`, - }; - } -}); - provide(anchorItemInjectKey, { depth }); onMounted(() => { @@ -64,7 +54,14 @@ onUnmounted(() => {