Fix issue

This commit is contained in:
liangping 2021-09-11 10:33:21 +08:00
parent e2cc7a5b21
commit 431629736b

View File

@ -122,7 +122,10 @@ export default {
return tokenFormatter(value)
},
addNewLine(value) {
if (typeof value === 'string') {
return value.replaceAll('\\n', '\n')
}
return value
},
},
}