3金币
本帖最后由 李想锅锅 于 2022-4-14 09:12 编辑
如何对数据集接口返回的LIST集合中的某字段拼接然后绑定到文本框?
数据集参数为:
[
{
"险别": "1",
"责任名称": "自然灾害及意外事故损失费用",
"责任编码": "0001",
"保费": "107934.00",
"条款编码": "001",
"保额": "25739861.81",
"条款名称": "既有建筑幕墙损失保险"
},
{
"险别": "1",
"责任名称": "检查维修保养费用",
"责任编码": "0002",
"保费": "97141.00",
"条款编码": "001",
"保额": "23165875.63",
"条款名称": "既有建筑幕墙损失保险"
},
{
"险别": "1",
"责任名称": "质量缺陷损失费用",
"责任编码": "0003",
"保费": "10793.00",
"条款编码": "001",
"保额": "2573986.18",
"条款名称": "既有建筑幕墙损失保险"
},
{
"险别": "2",
"责任名称": "高空坠物责任",
"责任编码": "0004",
"保费": "5000.00",
"条款编码": "101",
"保额": "5000000.00",
"条款名称": "既有建筑幕墙损失保险附加高空坠物责任保险"
}
是否可以使用Join函数 拼接
我的目标字符串为:既有建筑幕墙损失保险,既有建筑幕墙损失保险,既有建筑幕墙损失保险,既有建筑幕墙损失保险附加高空坠物责任保险
我是这么写的:{Join(条款名称, ", ")} 是不是有什么问题
|
|