!278 fix: 修复freePublish list类型错误

Merge pull request !278 from jawe/dev
pull/279/MERGE
芋道源码 2025-11-26 02:22:31 +00:00 committed by Gitee
commit 4be5f8f799
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 4 additions and 6 deletions

View File

@ -77,9 +77,8 @@ const [Grid, gridApi] = useVbenVxeGrid({
});
}
});
// TODO @jaweArticle
return {
list: res.list as unknown as Article[],
list: res.list as unknown as MpFreePublishApi.FreePublish[],
total: res.total,
};
},
@ -93,7 +92,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
refresh: true,
search: true,
},
} as VxeTableGridOptions<Article>,
} as VxeTableGridOptions<FreePublish.FreePublish>,
});
</script>

View File

@ -76,9 +76,8 @@ const [Grid, gridApi] = useVbenVxeGrid({
});
}
});
// TODO @jaweArticle
return {
list: res.list as unknown as Article[],
list: res.list as unknown as MpFreePublishApi.FreePublish[],
total: res.total,
};
},
@ -92,7 +91,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
refresh: true,
search: true,
},
} as VxeTableGridOptions<Article>,
} as VxeTableGridOptions<MpFreePublishApi.FreePublish>,
});
</script>