Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
icbcRPG
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
icbcRPG
Commits
01d717da
Commit
01d717da
authored
Dec 26, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9a532b8b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
select.jsx
project/src/components/select/select.jsx
+1
-1
userinfo.jsx
project/src/components/userinfo/userinfo.jsx
+1
-1
No files found.
project/src/components/select/select.jsx
View file @
01d717da
...
...
@@ -146,7 +146,7 @@ class Select extends Component {
async
selectRole
(){
let
planame
=
this
.
refs
.
planame
.
value
;
if
(
planame
.
length
<
1
){
return
Toast
(
"
名字
不能为空"
);
return
Toast
(
"
昵称
不能为空"
);
}
var
regEn
=
/
[
`~!@#$%^&*()_+<>?:"{},.
\/
;'[
\]]
/im
,
regCn
=
/
[
·!#¥(——):;“”‘、,|《。》?、【】[
\]]
/im
;
...
...
project/src/components/userinfo/userinfo.jsx
View file @
01d717da
...
...
@@ -26,7 +26,7 @@ class Userinfo extends Component {
onclick
=
async
()
=>
{
let
planame
=
this
.
refs
.
planame
.
value
;
if
(
planame
.
length
<
1
)
{
return
Toast
(
"
名字
不能为空"
);
return
Toast
(
"
昵称
不能为空"
);
}
var
regEn
=
/
[
`~!@#$%^&*()_+<>?:"{},.
\/
;'[
\]]
/im
,
...
...
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