mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-26 08:45:08 +08:00
fix: 完善拼团活动 CRUD
This commit is contained in:
@ -87,7 +87,6 @@ const selectSpu = (spuId: number, skuIds: number[]) => {
|
||||
}
|
||||
/**
|
||||
* 获取 SPU 详情
|
||||
* @param spuIds
|
||||
*/
|
||||
const getSpuDetails = async (
|
||||
spuId: number,
|
||||
@ -113,7 +112,7 @@ const getSpuDetails = async (
|
||||
if (typeof products !== 'undefined') {
|
||||
const product = products.find((item) => item.skuId === sku.id)
|
||||
if (product) {
|
||||
// 元转分
|
||||
// 分转元
|
||||
product.seckillPrice = formatToFraction(product.seckillPrice)
|
||||
}
|
||||
config = product || config
|
||||
|
Reference in New Issue
Block a user