优化页面提示
This commit is contained in:
parent
eaf3dff8e3
commit
91858692ed
|
|
@ -201,7 +201,7 @@ export default {
|
|||
const regex = /^-?\d+$/
|
||||
const isNum = regex.test(val)
|
||||
if (!isNum) {
|
||||
this.$message.error('请输入正整数和负整数或0!')
|
||||
this.$message.error('请输入正整数或负整数或0!')
|
||||
return
|
||||
}
|
||||
|
||||
|
|
@ -225,7 +225,7 @@ export default {
|
|||
throw new Error()
|
||||
}
|
||||
if (!regex.test(e.trimDay)) {
|
||||
this.$message.error('请输入正整数和负整数或0!')
|
||||
this.$message.error('请输入正整数或负整数或0!')
|
||||
this.activeIndex = v
|
||||
this.$refs[`editIpt_${v}`][0].focus()
|
||||
isNum = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue