Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
ruoyi
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
范晓龙
ruoyi
Commits
49e20200
提交
49e20200
authored
7月 19, 2020
作者:
RuoYi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
字符未使用下划线不进行驼峰式处理
上级
f726bf25
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
8 行增加
和
5 行删除
+8
-5
若依环境使用手册.docx
doc/若依环境使用手册.docx
+0
-0
profile.html
...main/resources/templates/system/user/profile/profile.html
+1
-1
StringUtils.java
...mon/src/main/java/com/ruoyi/common/utils/StringUtils.java
+7
-4
没有找到文件。
doc/若依环境使用手册.docx
浏览文件 @
49e20200
No preview for this file type
ruoyi-admin/src/main/resources/templates/system/user/profile/profile.html
浏览文件 @
49e20200
...
...
@@ -16,7 +16,7 @@
</div>
<div
class=
"ibox-content"
>
<div
class=
"text-center"
>
<p
class=
"user-info-head"
onclick=
"
javascript:
avatar()"
><img
class=
"img-circle img-lg"
th:src=
"(${user.avatar} == '') ? @{/img/profile.jpg} : @{${user.avatar}}"
></p>
<p
class=
"user-info-head"
onclick=
"avatar()"
><img
class=
"img-circle img-lg"
th:src=
"(${user.avatar} == '') ? @{/img/profile.jpg} : @{${user.avatar}}"
></p>
<p><a
href=
"javascript:avatar()"
>
修改头像
</a></p>
</div>
<ul
class=
"list-group list-group-striped"
>
...
...
ruoyi-common/src/main/java/com/ruoyi/common/utils/StringUtils.java
浏览文件 @
49e20200
...
...
@@ -301,7 +301,6 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
}
sb
.
append
(
Character
.
toLowerCase
(
c
));
}
return
sb
.
toString
();
}
...
...
@@ -364,7 +363,8 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
}
/**
* 驼峰式命名法 例如:user_name->userName
* 驼峰式命名法
* 例如:user_name->userName
*/
public
static
String
toCamelCase
(
String
s
)
{
...
...
@@ -372,6 +372,10 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
{
return
null
;
}
if
(
s
.
indexOf
(
SEPARATOR
)
==
-
1
)
{
return
s
;
}
s
=
s
.
toLowerCase
();
StringBuilder
sb
=
new
StringBuilder
(
s
.
length
());
boolean
upperCase
=
false
;
...
...
@@ -401,4 +405,4 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
{
return
(
T
)
obj
;
}
}
\ No newline at end of file
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论