【发布时间】:2019-04-10 07:00:07
【问题描述】:
使用震动
我需要将标签数组中的名称转换为逗号分隔的字符串集作为标签。
输入:
tags : [
{
"id" : "1",
"name": "mobile",
"slug": ""
},
{
"id" : "2",
"name": "smart phone",
"slug": ""
},
{
"id" : "3",
"name": "light-weight",
"slug": ""
}
]
输出:
标签:“移动、智能手机、轻量级”
预期的规范应该是什么?
【问题讨论】: