Commit d520061c6bf2f67c71d7779140748d92084c819a
1 parent
7a19af0d
1.修复换行功能
Showing
1 changed file
with
1 additions
and
1 deletions
src/mes/scheduledTasks/prenatalReminderInfo1/index.js
| @@ -84,7 +84,7 @@ const PrenatalReminderInfo = function(baseProps) { | @@ -84,7 +84,7 @@ const PrenatalReminderInfo = function(baseProps) { | ||
| 84 | {memoListFilter.map(function(item, index) { | 84 | {memoListFilter.map(function(item, index) { |
| 85 | const title = item.showName; | 85 | const title = item.showName; |
| 86 | let dataValueNew = viewRow[item.sName] || ""; | 86 | let dataValueNew = viewRow[item.sName] || ""; |
| 87 | - dataValueNew = dataValueNew.replace(/\\n,/g, '\n'); | 87 | + dataValueNew = dataValueNew.replace(/\\n,?/g, '\n'); |
| 88 | const child = { | 88 | const child = { |
| 89 | sId: commonUtils.createSid(), | 89 | sId: commonUtils.createSid(), |
| 90 | sName: item.sName, | 90 | sName: item.sName, |