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
8079e15f
authored
Nov 22, 2022
by
宁成龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
完善输入体验
parent
edfaec33
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
app/Admin/Renderable/CreateUser.php
app/Admin/Service/UserAddressService.php
app/Admin/Renderable/CreateUser.php
View file @
8079e15f
...
...
@@ -34,7 +34,7 @@ class CreateUser extends \Dcat\Admin\Support\LazyRenderable
$form
->
width
(
4
)
->
text
(
'last_name'
)
->
required
();
});
$form
->
row
(
function
(
Form\Row
$form
)
{
$form
->
width
(
4
)
->
text
(
'phone'
)
->
required
();
$form
->
width
(
4
)
->
number
(
'phone'
)
->
required
();
$form
->
width
(
4
)
->
email
(
'email'
)
->
required
();
});
$form
->
row
(
function
(
Form\Row
$form
)
{
...
...
app/Admin/Service/UserAddressService.php
View file @
8079e15f
...
...
@@ -15,8 +15,8 @@ class UserAddressService
{
$grid
->
column
(
'address_id'
);
$grid
->
column
(
'consignee'
);
$grid
->
column
(
'email'
);
$grid
->
column
(
'phone'
);
$grid
->
email
(
'email'
);
$grid
->
number
(
'phone'
);
$grid
->
column
(
'detail_address'
);
$grid
->
column
(
'city'
);
$grid
->
column
(
'address_type'
)
->
using
(
admin_trans
(
'user-address.options.address_type'
));
...
...
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