From 6f78b90c4519cf55ad3eb6ecc0ecb1e441fe276d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=BF=97=E5=86=9B?= <543024265@qq.com> Date: Tue, 8 Jul 2025 17:00:29 +0800 Subject: [PATCH] =?UTF-8?q?feat(property-marketing):=20=E9=87=8D=E6=9E=84A?= =?UTF-8?q?I=E5=88=86=E6=9E=90=E7=BB=93=E6=9E=9C=E5=A4=84=E7=90=86?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E5=B9=B6=E4=BC=98=E5=8C=96=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refactor(property-marketing): 拆分投放指南和历史指南组件逻辑 feat(property-marketing): 添加AI检测结果状态枚举 perf(property-marketing): 优化定时任务处理逻辑和错误处理 style(property-marketing): 调整页面样式和布局结构 --- src/utils/tools.ts | 10 ---------- .../components/action-guide-distribution/index.vue | 1 - 2 files changed, 11 deletions(-) diff --git a/src/utils/tools.ts b/src/utils/tools.ts index d8c87ca..105d541 100644 --- a/src/utils/tools.ts +++ b/src/utils/tools.ts @@ -3,7 +3,6 @@ * @Date: 2025-06-27 17:36:31 */ import dayjs from 'dayjs'; -import lodash from 'lodash'; export function toFixed(num: number | string, n: number): number { return parseFloat(parseFloat(num.toString()).toFixed(n)); } @@ -106,12 +105,3 @@ export function downloadByUrl(url: string, filename?: string) { a.click(); document.body.removeChild(a); } - -/** - * 检查数据是否为空 - * @param data - */ -export function isEmpty(data: any): boolean { - // 使用 lodash 的 isEmpty 方法检查数据是否为空 - return lodash.isEmpty(data); -} diff --git a/src/views/property-marketing/put-account/investment-guidelines/components/action-guide-distribution/index.vue b/src/views/property-marketing/put-account/investment-guidelines/components/action-guide-distribution/index.vue index 7f195c6..907bd62 100644 --- a/src/views/property-marketing/put-account/investment-guidelines/components/action-guide-distribution/index.vue +++ b/src/views/property-marketing/put-account/investment-guidelines/components/action-guide-distribution/index.vue @@ -146,7 +146,6 @@