优化字符

master 3.2.0
yutent 2023-12-27 10:30:11 +08:00
parent b29fa3d163
commit 725d2e1231
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ var __inc__ = 4096
/**
* [base64encode base64编码]
* @param {Str/Num/Buffer} str [要编码的字符串]
* @param {bool} urlFriendly [是否对URL友好默认否是则会把+转成-/转成_]
* @param {bool} urlFriendly [是否对URL友好, 默认否, 是则会把+转成-, /_]
*/
export function base64encode(str, urlFriendly) {
var buf, str64