v3.8.0 升级js-cookie到最新版本3.0.1

This commit is contained in:
YunaiV
2022-02-17 15:26:22 +08:00
parent 8e0415a8fe
commit 1bebd5ef8e
2 changed files with 2 additions and 2 deletions

View File

@ -420,7 +420,7 @@ export function titleCase(str) {
// 下划转驼峰
export function camelCase(str) {
return str.replace(/-[a-z]/g, str1 => str1.substr(-1).toUpperCase())
return str.replace(/_[a-z]/g, str1 => str1.substr(-1).toUpperCase())
}
export function isNumberStr(str) {