Преглед на файлове

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