Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Elements-SY
2023-10-20 15:15:11 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e89245edce504a0d1148fddd00c457ae9110e984
e89245ed
1 parent
710d2ab3
modify
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
src/utils/mixins.js
src/utils/mixins.js
View file @
e89245e
...
...
@@ -133,20 +133,6 @@ export const inputBlurValidate = {
}
}
},
validateNumber
(
number
)
{
// 首先检查是否为合法数字
if
(
isNaN
(
number
))
{
return
"请输入有效数字"
;
}
// 然后检查是否大于0
if
(
number
<=
0
)
{
return
"请输入大于0的数字"
;
}
// 如果通过了以上两个条件,则表示数字合法
return
"数字合法"
;
},
// 人民币最小申报价值
inputCNYBlurMin
({
target
},
customVal
)
{
// 申报价值最小值和最大值都为空的情况下
...
...
Please
register
or
login
to post a comment