Showing
1 changed file
with
5 additions
and
1 deletions
| ... | ... | @@ -71,7 +71,11 @@ export default { |
| 71 | 71 | return formatToDate(date, 'YYYY-MM-DD HH:mm:ss'); |
| 72 | 72 | }, |
| 73 | 73 | formatValue(value) { |
| 74 | - return JSON.stringify(value); | |
| 74 | + const val = JSON.stringify(value); | |
| 75 | + return val | |
| 76 | + .replace(/\\"/g, '"') | |
| 77 | + .replace(/]"/g, ']') | |
| 78 | + .replace(/"\[/g, '['); | |
| 75 | 79 | } |
| 76 | 80 | }, |
| 77 | 81 | onLoad(options) { | ... | ... |