ソースを参照

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

jqh 5 年 前
コミット
8886a5bf5f
1 ファイル変更1 行追加1 行削除
  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()