Fix issue
This commit is contained in:
parent
e2cc7a5b21
commit
431629736b
@ -122,7 +122,10 @@ export default {
|
|||||||
return tokenFormatter(value)
|
return tokenFormatter(value)
|
||||||
},
|
},
|
||||||
addNewLine(value) {
|
addNewLine(value) {
|
||||||
return value.replaceAll('\\n', '\n')
|
if (typeof value === 'string') {
|
||||||
|
return value.replaceAll('\\n', '\n')
|
||||||
|
}
|
||||||
|
return value
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user