表格内多图片显示问题

{ label: t('ba.repair.image'), prop: 'images', align: 'center', render: 'images', },

这个代码怎么无法显示多图片呢?
字段数据格式为:图片地址,图片地址
中间使用的逗号隔开

{
  "id": 4,
  "bxr": "User",
  "bxld": "1,2",
  "bxfj": "503",
  "bxlb": "1,6,10",
  "wtms": "冲冲冲",
  "images": "/storage/default/20240708/login-backgroun822687d31ccd83c82ae0847afbee5e69a81db222.jpg,/storage/default/20240708/qr_code1fc4b29eb57714f69b5b3f5b159db66b515c39c3.png,/storage/default/20240708/profile1f90a5ce5d1215d877d291a53ff0608eea857995.jpg,/storage/default/20240708/pay8f0d94442c2a49b151c6eacf38c7c0e8492a3e7a.png",
  "datetime": null,
  "status": 1,
  "create_time": 1720450994,
  "pd_time": null,
  "finish_time": null
}

但是无法显示图片

2个回答默认排序 投票数排序
hellocrab
hellocrab
这家伙很懒,什么也没写~
4月前

你输出的字段images数据不对,要转为索引数组格式

adminchat
adminchat回复hellocrab
这家伙很懒,什么也没写~
4月前
{
  "id": 4,
  "bxr": "User",
  "bxld": "1,2",
  "bxfj": "503",
  "bxlb": "1,6,10",
  "wtms": "冲冲冲",
  "images": "['/storage/default/20240708/login-backgroun822687d31ccd83c82ae0847afbee5e69a81db222.jpg,/storage/default/20240708/qr_code1fc4b29eb57714f69b5b3f5b159db66b515c39c3.png', '/storage/default/20240708/pay8f0d94442c2a49b151c6eacf38c7c0e8492a3e7a.png', '/storage/default/20240708/profile1f90a5ce5d1215d877d291a53ff0608eea857995.jpg']",
  "datetime": null,
  "status": 1,
  "create_time": 1720450994,
  "pd_time": null,
  "finish_time": null
}

这样也不显示

hellocrab
hellocrab回复adminchat
这家伙很懒,什么也没写~
4月前


你这个数据这个地方是不是少点东西啊?

Age_Chen
Age_Chen
这家伙很懒,什么也没写~
4月前

获取时按逗号分割成数组

请先登录
0
1
0
4