schema.json 中property的定义为:
"appealid": {
"bsonType": "string",
"description": "被回复的诉求ID,xjhq-appeal 表中的`_id`字段",
"title": "appealid",
"foreignKey": "xjhq-appeal._id"
},
在list.vue中给该值添加筛选:
<uni-th align="center"
filter-type="search"
@filter-change="filterChange($event, 'xjhq-appeal._id')"
sortable @sort-change="sortChange($event, 'appealid')">appealid</uni-th>
但是筛选的时候,筛选结果一直为空:
点击搜索,结果为空: