Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵增煜
/
tzt-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f2ae4605
authored
Nov 23, 2024
by
赵增煜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
必填项调整
parent
ca3cd6b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/Admin/Controllers/PharmacyController.php
+2
-2
No files found.
app/Admin/Controllers/PharmacyController.php
View file @
f2ae4605
...
...
@@ -117,8 +117,8 @@ protected function form()
$form
->
column
(
6
,
function
(
Form
$form
)
{
$form
->
display
(
'id'
);
$form
->
text
(
'name'
)
->
required
()
->
maxLength
(
64
,
'最多输入64个字符'
);
$form
->
text
(
'area'
)
->
required
()
->
maxLength
(
64
,
'最多输入64个字符'
);
$form
->
text
(
'address'
)
->
required
()
->
maxLength
(
128
,
'最多输入128个字符'
);
$form
->
text
(
'area'
)
->
maxLength
(
64
,
'最多输入64个字符'
);
$form
->
text
(
'address'
)
->
maxLength
(
128
,
'最多输入128个字符'
);
$form
->
mobile
(
'mobile'
)
->
required
()
->
help
(
'药店登录账号'
)
->
rules
(
function
(
Form
$form
)
{
// 如果不是编辑状态,则添加字段唯一验证
if
(
!
$id
=
$form
->
model
()
->
id
)
{
...
...
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