for example, there is no problem with using mock data, and an exception will occur if you replace it with an api address.
after testing, the following problems are found:
post the st component first:
< st-sharpst [data] = "queryData" [columns] = "columns" size="small" (checkboxChange) = "checkboxChange ($event)" > < / st >
ts file:
queryData = "api/xxxx".
api returns data:
{
"Total": 2021,
"List": [
{
"PlantCode": "F1331",
"PlantName": "F1331",
"UpdateDate": "2019/01/24",
"UpdateUser": "Z12083050"
}
]
} / / so that the data list will not be displayed
if queryData = List, the data list can be displayed normally, but there is no way to use server paging, or with st.reload, you can only override the search method.
@ cipchk Please take a look at it for me ~ Thank you ~