2023年9月26日

ts字符串与base64互转

摘要: 字符串转base64 和 base64转字符串 /** * 字符串转base64(不推荐) * @param str * @returns */ public static myEncode(str) { // 对字符串进行编码 var encode = encodeURI(str.replace( 阅读全文

posted @ 2023-09-26 14:30 anjun_xf 阅读(399) 评论(0) 推荐(0) 编辑

导航

TOP