cwj 3年前

修改理由:

与官方文档不一致

详细描述:

showTreeInDialog
官方文档中为 $tree->checkAll();
而这边的为 $tree->checkedAll();

相关信息:


此投稿已在 3年前 合并。

内容修改:

红色背景 为原始内容

绿色背景 为新增或者修改的内容

OldNewDifferences
541541   foreach (array_column($this->roles, 'slug') as $slug) {
542542       if ($roleModel::isAdministrator($slug)) {
543543           // 选中所有节点
544            $tree->checkedAll();
 544           $tree->checkAll();
545545       }
546546   }
547547});