icssoa 7 mesi fa
parent
commit
6d3f3909f2
1 ha cambiato i file con 0 aggiunte e 9 eliminazioni
  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);
 	}