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 @@