@@ -77,9 +77,8 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// TODO @jawe:Article 类型,报错;
|
|
||||||
return {
|
return {
|
||||||
list: res.list as unknown as Article[],
|
list: res.list as unknown as MpFreePublishApi.FreePublish[],
|
||||||
total: res.total,
|
total: res.total,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@@ -93,7 +92,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
refresh: true,
|
refresh: true,
|
||||||
search: true,
|
search: true,
|
||||||
},
|
},
|
||||||
} as VxeTableGridOptions<Article>,
|
} as VxeTableGridOptions<FreePublish.FreePublish>,
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -76,9 +76,8 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// TODO @jawe:Article 类型,报错;
|
|
||||||
return {
|
return {
|
||||||
list: res.list as unknown as Article[],
|
list: res.list as unknown as MpFreePublishApi.FreePublish[],
|
||||||
total: res.total,
|
total: res.total,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@@ -92,7 +91,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
refresh: true,
|
refresh: true,
|
||||||
search: true,
|
search: true,
|
||||||
},
|
},
|
||||||
} as VxeTableGridOptions<Article>,
|
} as VxeTableGridOptions<MpFreePublishApi.FreePublish>,
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user