diff --git a/web/assets/js/util/index.js b/web/assets/js/util/index.js index 83497b94..7270096f 100644 --- a/web/assets/js/util/index.js +++ b/web/assets/js/util/index.js @@ -326,6 +326,14 @@ class ObjectUtil { return false; } } + for (const key in b) { + if (!b.hasOwnProperty(key)) { + continue; + } + if (!a.hasOwnProperty(key)) { + return false; + } + } return true; } }