Toggle navigation
Toggle navigation
This project
Loading...
Sign in
OnePoem
/
OnePoem-Server
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
李帅
2022-06-10 18:49:47 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c1ea014aeb2d72938f49a0e863736c2a29d82dd8
c1ea014a
1 parent
7451fa94
1.优化后台显示。
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Admin/Controllers/MembershipController.php
app/Admin/Controllers/MembershipController.php
View file @
c1ea014
...
...
@@ -31,8 +31,8 @@ class MembershipController extends AdminController
$grid
->
setActionClass
(
Grid\Displayers\Actions
::
class
);
$grid
->
column
(
'id'
,
__
(
'ID'
))
->
sortable
();
$grid
->
column
(
'title'
);
$grid
->
column
(
'intro'
)
->
limit
(
30
);
$grid
->
column
(
'title'
)
->
width
(
3
)
;
$grid
->
column
(
'intro'
)
->
limit
(
30
)
->
width
(
4
)
;
$grid
->
column
(
'expand'
,
'展开'
)
->
display
(
'会员商品'
)
->
expand
(
function
(){
...
...
Please
register
or
login
to post a comment