优化检测脚本页面

This commit is contained in:
GGJ
2025-02-27 15:09:09 +08:00
parent e0fd42199f
commit c7e5ee0862
9 changed files with 417 additions and 280 deletions

View File

@@ -173,7 +173,7 @@ const handleHarmData = row => {
return row
}
// 判断数据是否变化
const isEqual = (obj1, obj2) => {
const isEqual = (obj1:any, obj2:any) => {
// 如果两个对象是同一个引用,直接返回 true
if (obj1 == obj2) return true
// 如果其中一个是 null 或者不是对象,返回 false