Browse Source

删除Table类getKeyName方法

jqh 5 years ago
parent
commit
1270045127
1 changed files with 0 additions and 9 deletions
  1. 0 9
      src/Form/Field/Table.php

+ 0 - 9
src/Form/Field/Table.php

@@ -88,15 +88,6 @@ class Table extends HasMany
         return parent::value($value);
     }
 
-    protected function getKeyName()
-    {
-        if (is_null($this->form)) {
-            return;
-        }
-
-        return 'id';
-    }
-
     public function buildNestedForm($key = null)
     {
         $form = new NestedForm($this->column);