Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
doublescreen-back
Project
Project
Details
Activity
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pengguangpu
doublescreen-back
Commits
bfd36a9c
Commit
bfd36a9c
authored
Feb 28, 2020
by
jiangjiantao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfixed
parent
05ecc8f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
landkeybord.js
pages/components/landkeybord/landkeybord.js
+1
-2
No files found.
pages/components/landkeybord/landkeybord.js
View file @
bfd36a9c
...
...
@@ -12,7 +12,6 @@ Component({
scene
:
1
,
//错误提示
errMsg
:
''
},
didMount
()
{
},
didUpdate
()
{
},
...
...
@@ -73,7 +72,7 @@ Component({
var
priceReg
=
/
(
^
[
1-9
]\d
*
(\.\d{1,2})?
$
)
|
(
^0
(\.\d{1,2})?
$
)
/
;
if
(
!
priceReg
.
test
(
this
.
data
.
result
))
{
//错误提示
this
.
setData
({
errMsg
:
"金额格式有误"
})
return
}
}
...
...
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