Skip to content

Commit

Permalink
改进
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed Jun 24, 2024
1 parent 816f4f5 commit d7a420b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@ public function save(array|object $data = [], string $sequence = null): bool
foreach ($this->inc as $field => $val) {
$this->data[$field] = '+' == $val[1] ? $val[0] + $val[2] : $val[0] - $val[2];
}
$this->inc = [];
}

// 重新记录原始数据
Expand Down

0 comments on commit d7a420b

Please sign in to comment.