Commit a589e910 by 宁成龙

修改按钮地址

parent c96ce830
Showing with 5 additions and 5 deletions
......@@ -45,16 +45,16 @@ class UserAddress extends \Dcat\Admin\Support\LazyRenderable
$actions->disableView();
// 当前行的数据数组
// $rowArray = $actions->row->toArray();
// 获取当前行主键值
$deleteAction = new UserAddressDeleteAction();
$deleteAction->setRow($actions->row);
$deleteAction->setKey($actions->getKey());
$actions->append($deleteAction);
$editAction = new UserAddressEditAction();
$editAction->setKey($actions->row);
$editAction->setRow($actions->row);
$actions->append($editAction);
// 获取当前行主键值
$deleteAction = new UserAddressDeleteAction();
$deleteAction->setRow($actions->row);
$deleteAction->setKey($actions->getKey());
$actions->append($deleteAction);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment