feat:【mall 商城】交易统计、商品统计【antd】15%:product-rank-card.vue 完善

This commit is contained in:
YunaiV
2025-10-19 22:14:49 +08:00
parent cb717a9d84
commit b5bc8d24b9
7 changed files with 156 additions and 250 deletions

View File

@@ -23,19 +23,4 @@ export * from './window';
export { default as cloneDeep } from 'lodash.clonedeep';
export { default as get } from 'lodash.get';
export { default as isEqual } from 'lodash.isequal';
export { default as set } from 'lodash.set';
/**
* 构建排序字段
* @param prop 字段名称
* @param order 顺序
*/
export const buildSortingField = ({
prop,
order,
}: {
order: 'ascending' | 'descending';
prop: string;
}) => {
return { field: prop, order: order === 'ascending' ? 'asc' : 'desc' };
};
export { default as set } from 'lodash.set';