From c4f935e060c15e3c7fd56d75a5274b69f45abeb8 Mon Sep 17 00:00:00 2001
From: ZN <zhang_12370@163.com>
Date: 星期二, 17 三月 2026 15:50:37 +0800
Subject: [PATCH] feat(quality): 新增质量管理模块页面和首页入口
---
src/pages_qiun/static/table/objEqual.js | 36 ++++++++++++++++++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/src/pages_qiun/static/table/objEqual.js b/src/pages_qiun/static/table/objEqual.js
new file mode 100644
index 0000000..222188e
--- /dev/null
+++ b/src/pages_qiun/static/table/objEqual.js
@@ -0,0 +1,36 @@
+export default function isEqual(x, y) {
+ if (x === y) {
+ return true
+ }
+ if (!(x instanceof Object) || !(y instanceof Object)) {
+ return false
+ }
+ if (x.constructor !== y.constructor) {
+ return false
+ }
+ for (var p in x) {
+ if (x.hasOwnProperty(p)) {
+ if (!y.hasOwnProperty(p)) {
+ return false
+ }
+
+ if (x[p] === y[p]) {
+ continue
+ }
+
+ if (typeof (x[p]) !== "object") {
+ return false
+ }
+
+ if (!Object.equals(x[p], y[p])) {
+ return false
+ }
+ }
+ }
+ for (p in y) {
+ if (y.hasOwnProperty(p) && !x.hasOwnProperty(p)) {
+ return false
+ }
+ }
+ return true
+}
--
Gitblit v1.9.3