修改禅道已知bug

This commit is contained in:
范强强
2022-08-26 14:53:35 +08:00
parent 6ac2aea013
commit 43e289fe90
9 changed files with 17 additions and 10 deletions
@@ -1787,7 +1787,7 @@
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
value.handlingTime = handlingTime
Object.keys(value).forEach(res => {
if (value[res] && value[res] instanceof String) {
if (value[res] && typeof value[res] == 'string') {
value[res] = value[res].replace(/\"/g, '“')
value[res] = value[res].replace(/\'/g, '‘')
}