From 42e3694b8c48ef8d7b9cec3a8e48da666bcfcbe3 Mon Sep 17 00:00:00 2001 From: zhangxiao <898441624@qq.com> Date: 星期五, 13 九月 2024 14:49:17 +0800 Subject: [PATCH] 增加权限管理-资源的拖拽功能锁定按钮 --- src/utils/index.ts | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/utils/index.ts b/src/utils/index.ts index f4d32d8..2a964a7 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -1,3 +1,5 @@ + + type TargetContext = '_self' | '_parent' | '_blank' | '_top'; export const openWindow = ( @@ -67,4 +69,11 @@ }) } + + + +export const documentHeight:number = window.innerHeight - 320; export default null; + + + -- Gitblit v1.8.0