mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 07:09:20 +08:00
fix: 修复前端 TypeScript 类型错误
- file-upload.ts: 重写上传逻辑,正确使用 files 数组和类型 - CompanyMenuDrawer/CompanyPermissionDrawer: 修复 Tree @check 事件类型 - 移除各页面未使用的导入和函数 - promotion-fee: 修复类型导出问题 - 修复 VxeGrid 配置重复和无效属性问题
This commit is contained in:
-5
@@ -27,11 +27,6 @@ const formatAmount = (amount: number) => {
|
||||
return `¥${amount.toLocaleString('zh-CN')}`;
|
||||
};
|
||||
|
||||
const safeNumber = (value: number | string | undefined) => {
|
||||
const num = Number(value);
|
||||
return Number.isFinite(num) ? num : 0;
|
||||
};
|
||||
|
||||
// 渲染店铺销售占比排行图表
|
||||
const renderShopBarChart = () => {
|
||||
if (!barChartRef.value || !props.shopSalesRatios) return;
|
||||
|
||||
Reference in New Issue
Block a user