소스 검색

优化细节

icssoa 7 달 전
부모
커밋
6d3f3909f2
1개의 변경된 파일0개의 추가작업 그리고 9개의 파일을 삭제
  1. 0 9
      uni_modules/cool-ui/components/cl-icon/cl-icon.uvue

+ 0 - 9
uni_modules/cool-ui/components/cl-icon/cl-icon.uvue

@@ -102,16 +102,7 @@ const icon = computed<Icon>(() => {
 			}
 		});
 
-		// Android平台特殊处理
-		// #ifdef APP-ANDROID
-		// @ts-ignore
-		text = new String(Character.toChars(parseInt(code, 16).toInt()));
-		// #endif
-
-		// 其他平台处理
-		// #ifndef APP-ANDROID
 		text = String.fromCharCode(parseInt(code, 16));
-		// #endif
 	} catch (e) {
 		console.error(`图标 ${props.name} 不存在`, e);
 	}