From d30a31e7c2a9acd08da8983e42e6fdf014707a04 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 26 九月 2025 15:39:47 +0800
Subject: [PATCH] 打包修改
---
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