瀏覽代碼

项目改回

whj 4 年之前
父節點
當前提交
3e5603bb32
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Models/Project.php

+ 1 - 1
app/Models/Project.php

@@ -117,7 +117,7 @@ class Project extends BaseModel
 
 
     public static function getOptions()
     public static function getOptions()
     {
     {
-        return self::where('id', '>', 1)->get()->toArray();
+        return self::get()->toArray();
     }
     }
     public static function getNotOneProjectOptions(){
     public static function getNotOneProjectOptions(){
         return self::where('id','!=',1)->get();
         return self::where('id','!=',1)->get();