bfg-common 1.3.564 → 1.3.565
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/plugins/recursion.ts
CHANGED
|
@@ -109,13 +109,12 @@ export default defineNuxtPlugin(() => {
|
|
|
109
109
|
for (let i = 0; i < arr.length; i++) {
|
|
110
110
|
const item: any = arr[i]
|
|
111
111
|
|
|
112
|
-
const isFind = values.
|
|
112
|
+
const isFind = values.some(
|
|
113
113
|
(value, index) => value === item[valueProps[index]]
|
|
114
114
|
)
|
|
115
115
|
if (isFind) {
|
|
116
116
|
arr.splice(i, 1)
|
|
117
117
|
res = true
|
|
118
|
-
break
|
|
119
118
|
}
|
|
120
119
|
|
|
121
120
|
if (item[itemsProp]?.length) {
|