From af08dae54f74aa9a94f82f298410165fa9b7b614 Mon Sep 17 00:00:00 2001 From: yinbangzhong <zhongbangyin@126.com> Date: 星期三, 04 九月 2024 13:56:02 +0800 Subject: [PATCH] 单文档 --- src/utils/index.ts | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/utils/index.ts b/src/utils/index.ts index 9af4f41..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 = ( @@ -68,5 +70,10 @@ } + + export const documentHeight:number = window.innerHeight - 320; export default null; + + + -- Gitblit v1.8.0