|
@@ -138,7 +138,7 @@ export default class DragRule extends BaseRule {
|
|
|
let isValid = false
|
|
|
if (endRule.containValue != '-1') {
|
|
|
let tempArr = endRule.containValue.split(',')
|
|
|
- isValid = tempArr.filter(value1 => value1 == this.value).length > 0
|
|
|
+ isValid = tempArr.filter(value1 => value1 == curValue).length > 0
|
|
|
}
|
|
|
// 返回结果
|
|
|
let result: IRuleResult = {fo: this.node, to: this.endNode, isValid: isValid}
|