Преглед изворни кода

【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;
 }