oak-domain 2.6.4 → 2.6.5

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.
@@ -362,7 +362,7 @@ function translateCascadeRelationFilterMaker(schema, lch, entity2, pathPrefix) {
362
362
  var counters = [];
363
363
  if (filter) {
364
364
  if (relation === 2) {
365
- if (filter.entity === entity && filter.entityId) {
365
+ if (filter.entity === attr && filter.entityId) {
366
366
  // 这里对entityId的限定的数据只要和userId有一条relation,就不能否定可能会有创建动作(外键在最终create时,data上一定会有判定)
367
367
  counters.push({
368
368
  $entity: attr,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oak-domain",
3
- "version": "2.6.4",
3
+ "version": "2.6.5",
4
4
  "author": {
5
5
  "name": "XuChang"
6
6
  },