Skip to content

Commit

Permalink
little opti
Browse files Browse the repository at this point in the history
  • Loading branch information
errorrik committed Apr 9, 2024
1 parent 48e3fed commit ed456a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ Component.prototype._calcComputed = function (computedExpr) {

try {
this.data.set(
computedExpr,
{type: ExprType.ACCESSOR, paths: [{type: ExprType.STRING, value: computedExpr}]},
this.computed[computedExpr].call(that),
{silent: isFirstCalc}
);
Expand Down

0 comments on commit ed456a3

Please sign in to comment.