BUG 29768
This commit is contained in:
@@ -57,11 +57,8 @@ export default {
|
|||||||
if (!userId) {
|
if (!userId) {
|
||||||
return this.$u.toast("请选择人员")
|
return this.$u.toast("请选择人员")
|
||||||
}
|
}
|
||||||
if (isNaN(integral)) {
|
if(isNaN(integral)||!/^\d*[.\d]\d?$/.test(integral)){
|
||||||
return this.$u.toast("请输入赠送分值")
|
return this.$u.toast("请输入赠送分值,最多保留一位小数")
|
||||||
}
|
|
||||||
if(!/^\d*[.\d]\d?$/.test(integral)){
|
|
||||||
return this.$u.toast("请输入正数,最多保留一位小数")
|
|
||||||
}
|
}
|
||||||
this.$http.post("/admin/user/giveIntegral", null, {
|
this.$http.post("/admin/user/giveIntegral", null, {
|
||||||
params: {...this.form}
|
params: {...this.form}
|
||||||
|
|||||||
Reference in New Issue
Block a user