feat: 同步

This commit is contained in:
2025-03-30 22:20:09 +08:00
parent 1566b44fcd
commit 9ff1938221
31 changed files with 6337 additions and 1261 deletions

View File

@ -9,7 +9,7 @@ import { ElLoading } from "element-plus"
// 获取图片访问路径
export const getImgUrl = iconName => {
if (process.env.NODE_ENV === "development") {
return "http://192.168.3.81:8888/" + iconName
return "http://192.168.1.6:8888/" + iconName
} else if (process.env.NODE_ENV === "production") {
return window.location.origin + "/files/" + iconName//云平台
}
@ -902,14 +902,11 @@ export const arrayFiltering = (originalData, filteredData) => {
data[i]["sign"] = true
}
}else {
console.log(filteredData[j])
console.log(data[i][filteredData[j]])
data[i]["sign"] = false
break
}
}
} else {
console.log(filteredData[j])
data[i]["sign"] = false
break
}
@ -932,8 +929,6 @@ export const singleObjectCheck = (primaryObject, filterArray) => {
primaryObject["sign"] = true
}
}else {
console.log(filterArray[i])
console.log(primaryObject[filterArray[i]])
primaryObject["sign"] = false
break
}
@ -941,7 +936,6 @@ export const singleObjectCheck = (primaryObject, filterArray) => {
primaryObject["sign"] = true
}
} else {
console.log(filterArray[i])
primaryObject["sign"] = false
break
}