Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
najiu-admin-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
najiu-frontend
najiu-admin-template
Commits
87029650
Commit
87029650
authored
Jul 23, 2021
by
无木
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(demo): account page form validation
修复账号管理页面对不可见表单域的验证问题
parent
cebc6a59
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
menu.data.ts
src/views/demo/system/menu/menu.data.ts
+7
-7
No files found.
src/views/demo/system/menu/menu.data.ts
View file @
87029650
...
@@ -124,7 +124,7 @@ export const formSchema: FormSchema[] = [
...
@@ -124,7 +124,7 @@ export const formSchema: FormSchema[] = [
label
:
'
图标
'
,
label
:
'
图标
'
,
component
:
'
IconPicker
'
,
component
:
'
IconPicker
'
,
required
:
true
,
required
:
true
,
s
how
:
({
values
})
=>
!
isButton
(
values
.
type
),
ifS
how
:
({
values
})
=>
!
isButton
(
values
.
type
),
},
},
{
{
...
@@ -132,19 +132,19 @@ export const formSchema: FormSchema[] = [
...
@@ -132,19 +132,19 @@ export const formSchema: FormSchema[] = [
label
:
'
路由地址
'
,
label
:
'
路由地址
'
,
component
:
'
Input
'
,
component
:
'
Input
'
,
required
:
true
,
required
:
true
,
s
how
:
({
values
})
=>
!
isButton
(
values
.
type
),
ifS
how
:
({
values
})
=>
!
isButton
(
values
.
type
),
},
},
{
{
field
:
'
component
'
,
field
:
'
component
'
,
label
:
'
组件路径
'
,
label
:
'
组件路径
'
,
component
:
'
Input
'
,
component
:
'
Input
'
,
s
how
:
({
values
})
=>
isMenu
(
values
.
type
),
ifS
how
:
({
values
})
=>
isMenu
(
values
.
type
),
},
},
{
{
field
:
'
permission
'
,
field
:
'
permission
'
,
label
:
'
权限标识
'
,
label
:
'
权限标识
'
,
component
:
'
Input
'
,
component
:
'
Input
'
,
s
how
:
({
values
})
=>
!
isDir
(
values
.
type
),
ifS
how
:
({
values
})
=>
!
isDir
(
values
.
type
),
},
},
{
{
field
:
'
status
'
,
field
:
'
status
'
,
...
@@ -169,7 +169,7 @@ export const formSchema: FormSchema[] = [
...
@@ -169,7 +169,7 @@ export const formSchema: FormSchema[] = [
{
label
:
'
是
'
,
value
:
'
1
'
},
{
label
:
'
是
'
,
value
:
'
1
'
},
],
],
},
},
s
how
:
({
values
})
=>
!
isButton
(
values
.
type
),
ifS
how
:
({
values
})
=>
!
isButton
(
values
.
type
),
},
},
{
{
...
@@ -183,7 +183,7 @@ export const formSchema: FormSchema[] = [
...
@@ -183,7 +183,7 @@ export const formSchema: FormSchema[] = [
{
label
:
'
是
'
,
value
:
'
1
'
},
{
label
:
'
是
'
,
value
:
'
1
'
},
],
],
},
},
s
how
:
({
values
})
=>
isMenu
(
values
.
type
),
ifS
how
:
({
values
})
=>
isMenu
(
values
.
type
),
},
},
{
{
...
@@ -197,6 +197,6 @@ export const formSchema: FormSchema[] = [
...
@@ -197,6 +197,6 @@ export const formSchema: FormSchema[] = [
{
label
:
'
否
'
,
value
:
'
1
'
},
{
label
:
'
否
'
,
value
:
'
1
'
},
],
],
},
},
s
how
:
({
values
})
=>
!
isButton
(
values
.
type
),
ifS
how
:
({
values
})
=>
!
isButton
(
values
.
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