From 93cd489198f3b64e2049290e2a7a92d22faef049 Mon Sep 17 00:00:00 2001 From: han2015 <1019850453@qq.com> Date: Mon, 16 Jun 2025 17:00:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=BE=AE=E8=B0=83=EF=BC=9A?= =?UTF-8?q?=E4=BD=BF=E9=83=A8=E9=97=A8=E6=98=BE=E7=A4=BA=E6=88=90=E6=A0=91?= =?UTF-8?q?=E5=BD=A2=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/doc/share.vue | 10 +++++++++- src/views/doc/sharePermission.vue | 2 -- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/doc/share.vue b/src/views/doc/share.vue index e5f05ed..b1f46c1 100644 --- a/src/views/doc/share.vue +++ b/src/views/doc/share.vue @@ -151,6 +151,12 @@ function handleMouseEnter(row:any){ currentHoverRow.value=row.uuid } +function getItemSpan(str:string){ + let span=parseInt(str.split(":")[0])-3 //为何要减3,因为系统公司层级的level从3开始,层级递增4,5,6... + if(span<0) span=0 + return `margin-left:${span*20}px` +} + onMounted(() => { const query = route.query //只是分享链接的请求 @@ -222,7 +228,9 @@ onMounted(() => {