Skip to content

Commit

Permalink
Merge branch 'formily_next' of github.com:alibaba/formily into formil…
Browse files Browse the repository at this point in the history
…y_next
  • Loading branch information
janryWang committed May 24, 2021
2 parents e4d10d1 + 860264d commit b4cda4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/path/src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export class Parser extends Tokenizer {
/\[\s*([\+\-\*\/])?\s*([^,\]\s]*)\s*\]/,
(match, operator, target) => {
if (this.relative !== undefined)
return calculate(target || 1, this.relative, operator)
return calculate(this.relative, target || 1, operator)
return match
}
)
Expand Down

0 comments on commit b4cda4c

Please sign in to comment.