字符串转json

JSON.parse(`[${row[0].Mode}]`)

注释:row[0].Mode 为要转的数值

posted @ 2018-03-20 18:46  开始战斗  阅读(149)  评论(0编辑  收藏  举报