Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

如何解析并渲染服务端返回的自定义数据格式 #726

Open
zlgxzswjy opened this issue Jan 25, 2021 · 0 comments
Open

如何解析并渲染服务端返回的自定义数据格式 #726

zlgxzswjy opened this issue Jan 25, 2021 · 0 comments

Comments

@zlgxzswjy
Copy link

proTable的request属性。当服务端返回标准的{data:[……]}时,可以正常解析并渲染到页面中。如果服务端返回的时其他自定义的数据格式时应该如何进行解析并渲染到页面时。比如
{
"list1": {
"Policy": [1,2,3,4,5,6],
"a": "2fdas",
"b": "",
"c": "ddd",
"d": "psss",
},
"list2":{
},
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant