Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
335f847f
authored
2026-03-16 13:35:43 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
密码的验证
1 parent
9cb3d0dc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/views/data_basic/addUser.vue
src/views/data_basic/addUser.vue
View file @
335f847
...
...
@@ -106,7 +106,7 @@ const schemaParam1 = ref([
field
:
'password'
,
default
:
''
,
clearable
:
true
,
required
:
tr
ue
,
required
:
!
isEdit
.
val
ue
,
autocompleteSetting
:
{
autocomplete
:
"one-time-code"
,
},
...
...
@@ -193,11 +193,11 @@ const schemaParamRules = ref({
staffName
:
[
required
(),
minChineseCount
()],
mobileNo
:
[
required
(),
phone
()],
funcPermissionTemplateJson
:
[{
type
:
'array'
,
required
:
true
,
trigger
:
'change'
,
message
:
"请选择功能权限"
}],
password
:
[{
password
:
(
isEdit
.
value
?
[]
:
[{
required
:
true
,
message
:
"该项为必填项"
,
trigger
:
"blur"
,
}
,
}
]).
concat
([
{
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
let
getStorage
=
(
key
)
=>
{
...
...
@@ -219,7 +219,7 @@ const schemaParamRules = ref({
}
},
trigger
:
[
'change'
,
'blur'
]
}],
}]
)
as
any
[]
,
});
// 页面按钮配置
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment