Commit 07c68d89 by 李伟康

fix(coupons): 添加备注为空时的校验逻辑

当用户提交的备注信息为空时,阻止调用更新接口并显示对话框提示,
避免无效数据提交到服务器。
1 parent 1dc967e8
......@@ -164,6 +164,9 @@ export default {
remark,
inviteFollowRecordId
}
if (!remark) {
return this.dialogShow = true
}
this.$apis.invitation.followRecordUpdate(params).then(res => {
this.$notify({
type: 'success',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!