JS无法解析PHP的json_encode()生成的json的解决方法
{{ time }}
示例代码如下
var data = JSON.parse('<?= addslashes(json_encode($data)) ?>')