diff --git a/src/Model.php b/src/Model.php index e0c87a29..a43de7a1 100644 --- a/src/Model.php +++ b/src/Model.php @@ -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 = []; } // 重新记录原始数据