Explorar el Código

修改模型代码排版

liaofei hace 2 años
padre
commit
a2ce712328
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      crmeb/crmeb/services/crud/Model.php

+ 1 - 1
crmeb/crmeb/services/crud/Model.php

@@ -68,7 +68,7 @@ class Model extends Make
             }
         }
         if ($attrFnContent) {
-            $this->value['attr-php'] = implode("\n", $attrFnContent);
+            $this->value['attr-php'] = "\n" . implode("\n", $attrFnContent);
         }
 
         return parent::handle($name, $options);