切换导航条
此项目
正在载入...
登录
何书鹏
/
recruit
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
Karson
5 years ago
提交
98b813aff165341d579f9c0cfb9290b09f3c071a
1 个父辈
15f6fb75
更新Echarts
优化表格content格式化方法
隐藏空白字符变更
内嵌
并排对比
正在显示
4 个修改的文件
包含
2 行增加
和
2 行删除
public/assets/js/echarts.min.js
public/assets/js/require-backend.min.js
public/assets/js/require-frontend.min.js
public/assets/js/require-table.js
public/assets/js/echarts.min.js
查看文件 @
98b813a
此 diff 太大无法显示。
public/assets/js/require-backend.min.js
查看文件 @
98b813a
此 diff 太大无法显示。
public/assets/js/require-frontend.min.js
查看文件 @
98b813a
此 diff 太大无法显示。
public/assets/js/require-table.js
查看文件 @
98b813a
...
...
@@ -583,8 +583,8 @@ define(['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstrap-table
return
html
.
join
(
' '
);
},
content
:
function
(
value
,
row
,
index
)
{
var
width
=
this
.
width
!=
undefined
?
this
.
width
:
250
;
return
"<div style='white-space: nowrap; text-overflow:ellipsis; overflow: hidden; max-width:"
+
width
+
"px;'>"
+
value
+
"</div>"
;
var
width
=
this
.
width
!=
undefined
?
(
this
.
width
.
match
(
/^
\d
+$/
)
?
this
.
width
+
"px"
:
this
.
width
)
:
"250px"
;
return
"<div style='white-space: nowrap; text-overflow:ellipsis; overflow: hidden; max-width:"
+
width
+
";'>"
+
value
+
"</div>"
;
},
status
:
function
(
value
,
row
,
index
)
{
var
custom
=
{
normal
:
'success'
,
hidden
:
'gray'
,
deleted
:
'danger'
,
locked
:
'info'
};
...
...
请
注册
或
登录
后发表评论