@chamn/render 0.0.44 → 0.0.45
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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +6 -6
package/dist/index.mjs
CHANGED
|
@@ -2427,7 +2427,7 @@ class pt {
|
|
|
2427
2427
|
const r = Ie(e), n = [], o = this.data.map((i) => {
|
|
2428
2428
|
const s = r.findIndex((c) => c.componentName === i.componentName);
|
|
2429
2429
|
return s >= 0 ? (n.push(s), r[s]) : i;
|
|
2430
|
-
}), a = r.filter((i, s) => n.includes(s));
|
|
2430
|
+
}), a = r.filter((i, s) => !n.includes(s));
|
|
2431
2431
|
this.data = [...o, ...a];
|
|
2432
2432
|
}
|
|
2433
2433
|
// 使用新的物料整个替换现有的物料列表
|