Explorar o código

修复DialogTree同个字段下无法显示不同节点问题

jqh %!s(int64=5) %!d(string=hai) anos
pai
achega
8886a5bf5f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Grid/Displayers/DialogTree.php

+ 1 - 1
src/Grid/Displayers/DialogTree.php

@@ -172,7 +172,7 @@ EOF;
 
     protected function getSelectorPrefix()
     {
-        return $this->grid->getName().'_'.$this->column->getName();
+        return $this->grid->getName().'_'.$this->column->getName().'_'.$this->getKey();
     }
 
     protected function setupScript()