修改类库

This commit is contained in:
wuyanwen
2019-12-26 09:03:19 +08:00
parent 1dcce85c3a
commit 201cb455f5
4 changed files with 29 additions and 83 deletions

View File

@@ -50,6 +50,7 @@ trait BaseOptionsTrait
return static::onlyTrashed()->find($id);
}
return static::where($this->getPk(), $id)->field($field)->find();
}