Commit a3e31668 authored by 黄媛媛's avatar 黄媛媛

1

parent 35d25e3a
......@@ -207,7 +207,7 @@ export default {
isResize: true,
width: 80,
formatter: function(rowData, rowIndex, pagingIndex, field) {
if(rowData.leaveStr)
if(rowData.leaveStr&&rowData.leaveStr!='')
return `<div>${rowData.createByStr}<span style="color:red;display:inline-block">(${rowData.leaveStr})</span></div>`
else
return `<div>${rowData.createByStr}</div>`
......
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 to comment