add clear

This commit is contained in:
as2252258@163.com
2019-07-19 18:09:58 +08:00
parent e44b1c0989
commit d769ba0aaa
+3
View File
@@ -403,6 +403,9 @@ class Config
*/
public function setConfigs(array $configs)
{
if (empty($configs)) {
return $this;
}
foreach ($configs as $key => $val) {
if (empty($val) || is_array($val)) {
continue;