Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
semour
/
semour_admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a589e910
authored
Nov 15, 2022
by
宁成龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改按钮地址
parent
c96ce830
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
app/Admin/Renderable/UserAddress.php
app/Admin/Renderable/UserAddress.php
View file @
a589e910
...
@@ -45,16 +45,16 @@ class UserAddress extends \Dcat\Admin\Support\LazyRenderable
...
@@ -45,16 +45,16 @@ class UserAddress extends \Dcat\Admin\Support\LazyRenderable
$actions
->
disableView
();
$actions
->
disableView
();
// 当前行的数据数组
// 当前行的数据数组
// $rowArray = $actions->row->toArray();
// $rowArray = $actions->row->toArray();
// 获取当前行主键值
$deleteAction
=
new
UserAddressDeleteAction
();
$deleteAction
->
setRow
(
$actions
->
row
);
$deleteAction
->
setKey
(
$actions
->
getKey
());
$actions
->
append
(
$deleteAction
);
$editAction
=
new
UserAddressEditAction
();
$editAction
=
new
UserAddressEditAction
();
$editAction
->
setKey
(
$actions
->
row
);
$editAction
->
setKey
(
$actions
->
row
);
$editAction
->
setRow
(
$actions
->
row
);
$editAction
->
setRow
(
$actions
->
row
);
$actions
->
append
(
$editAction
);
$actions
->
append
(
$editAction
);
// 获取当前行主键值
$deleteAction
=
new
UserAddressDeleteAction
();
$deleteAction
->
setRow
(
$actions
->
row
);
$deleteAction
->
setKey
(
$actions
->
getKey
());
$actions
->
append
(
$deleteAction
);
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment