!837 [mod]分页查询接口使用R类型返回:数据放入data中
* [mod]将PageResult从common-mybatis挪到common-core中 * [mod]TableDataInfo修改为PageResult * [mod]分页查询接口使用R类型返回:数据放入data中
This commit is contained in:
@@ -351,8 +351,8 @@ const getList = async () => {
|
||||
#end
|
||||
#end
|
||||
const res = await list${BusinessName}(queryParams.value);
|
||||
${businessName}List.value = res.rows;
|
||||
total.value = res.total;
|
||||
${businessName}List.value = res.data?.rows;
|
||||
total.value = res.data?.total;
|
||||
loading.value = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user