ソースを参照

【feat】【第二版开发】

1.移除测试代码
ChenYL 1 年間 前
コミット
82cd74978b
1 ファイル変更0 行追加3 行削除
  1. 0 3
      utils/system.js

+ 0 - 3
utils/system.js

@@ -72,12 +72,9 @@ export const getCapsuleBarInfo = () => {
  * @returns {{topHeight: number, bottomHeight: number, statusBarHeight: number, capsuleBarHeight: number, capsuleBarLeft: number, capsuleBarMarginTop: number, capsuleBarMarginBottom: number, capsuleBarContentHeight: number}}
  */
 export const getSafeArea = () => {
-	// TODO 测试代码待删除
-	console.log("safeArea出发啦啦啦");
 	let tempSafeArea = getCapsuleBarInfo();
 	tempSafeArea.statusBarHeight = getStatusBarHeight();
 	tempSafeArea.bottomHeight = SYSTEM_INFO.safeAreaInsets.bottom || 0;
 	tempSafeArea.topHeight = getStatusBarHeight() + tempSafeArea.capsuleBarHeight;
-	console.log("safeArea", tempSafeArea);
 	return tempSafeArea;
 }