BUG 29767
This commit is contained in:
@@ -57,7 +57,7 @@ export default {
|
||||
if (!userId) {
|
||||
return this.$u.toast("请选择人员")
|
||||
}
|
||||
if(isNaN(integral)||!/^\d*[.\d]\d?$/.test(integral)){
|
||||
if (isNaN(integral) || !/^\d*[.\d]\d?$/.test(integral)) {
|
||||
return this.$u.toast("请输入赠送分值,最多保留一位小数")
|
||||
}
|
||||
this.$http.post("/admin/user/giveIntegral", null, {
|
||||
@@ -65,14 +65,11 @@ export default {
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
this.$u.toast("提交成功!")
|
||||
uni.navigateBack({
|
||||
success: () => uni.$emit('reachBottom', true)
|
||||
})
|
||||
uni.navigateBack({})
|
||||
}
|
||||
})
|
||||
},
|
||||
handleSelectUser(v) {
|
||||
console.log(v)
|
||||
this.form.userId = v?.[0]?.id || ""
|
||||
this.form.userName = v?.[0]?.name || ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user