reactor:优化批量删除的代码,从 as number 变成 !
This commit is contained in:
@@ -66,7 +66,7 @@ function handleRowCheckboxChange({
|
||||
}: {
|
||||
records: MallCouponTemplateApi.CouponTemplate[];
|
||||
}) {
|
||||
checkedIds.value = records.map((item) => item.id as number);
|
||||
checkedIds.value = records.map((item) => item.id!);
|
||||
}
|
||||
|
||||
/** 优惠券模板状态修改 */
|
||||
|
||||
Reference in New Issue
Block a user