Skip to content

Commit

Permalink
Update Vue.php
Browse files Browse the repository at this point in the history
  • Loading branch information
akbarjoudi authored Sep 18, 2021
1 parent c9ea430 commit e7f0e5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Vue.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,9 @@ public function generateWatch()
if ($value instanceof \yii\web\JsExpression) {
$str .= $key . ":" . $value->expression . ',';
}
else{
$str .= $key . ":" . $value.',';
}
}
$str = rtrim($str, ',');
return "{" . $str . "}";
Expand Down

0 comments on commit e7f0e5a

Please sign in to comment.