Commit b0e5e2db by 杨树贤

优化弹窗

parent fdf9c617
......@@ -945,7 +945,10 @@
// 显示审核流程时间线
function showAuditFlowTips($element, auditData) {
let timelineHtml = buildAuditTimeline(auditData);
if (auditData.length === 0) {
return;
}else{
let timelineHtml = buildAuditTimeline(auditData);
layer.tips(timelineHtml, $element, {
tips: [3, '#009688'],
......@@ -953,6 +956,8 @@
area: ['auto', 'auto'],
maxWidth: 550
});
}
}
// 构建审核时间线HTML - 横向展示
......
......@@ -945,7 +945,10 @@
// 显示审核流程时间线
function showAuditFlowTips($element, auditData) {
let timelineHtml = buildAuditTimeline(auditData);
if (auditData.length === 0) {
return;
}else{
let timelineHtml = buildAuditTimeline(auditData);
layer.tips(timelineHtml, $element, {
tips: [3, '#009688'],
......@@ -953,6 +956,8 @@
area: ['auto', 'auto'],
maxWidth: 550
});
}
}
// 构建审核时间线HTML - 横向展示
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment