From 70e08980b2fcf49dc0505984cc310ce9850c761b Mon Sep 17 00:00:00 2001 From: zhang_12370 <z2864490065@outlook.com> Date: 星期四, 10 七月 2025 18:16:16 +0800 Subject: [PATCH] 首页模块 销售数据 月度对比 --- src/utils/index.js | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/utils/index.js b/src/utils/index.js index 9329fe2..3c2e031 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -387,4 +387,7 @@ export function isNumberStr(str) { return /^[+-]?(0|([1-9]\d*))(\.\d+)?$/g.test(str) } - + +export function isEqual(obj1, obj2) { + return JSON.stringify(obj1) === JSON.stringify(obj2); +} -- Gitblit v1.9.3