diff --git a/library/think/Model.php b/library/think/Model.php index dd56392d..7e26828b 100644 --- a/library/think/Model.php +++ b/library/think/Model.php @@ -706,6 +706,7 @@ class Model $step = '-' . $step; } } + $this->duplicate = []; return $this->setField($field, ['exp', $field . '+' . $step]); } @@ -735,6 +736,7 @@ class Model $step = '-' . $step; } } + $this->duplicate = []; return $this->setField($field, ['exp', $field . '-' . $step]); }