Skip to content

Commit

Permalink
优化:上线单名称/工单名称超过50个字符时增加提示。
Browse files Browse the repository at this point in the history
  • Loading branch information
kang.peng committed Nov 30, 2023
1 parent 7439ffa commit a564fe3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sql/templates/sqlsubmit.html
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,10 @@ <h4 class="modal-title text-danger">提交信息确认</h4>
obj[item.name] = item.value;
return obj;
}, {})
if (formData.workflow_name.length>=50){
alert("上线单名称/工单名称不能超过50个字符!")
return
}
$.ajax({
type: "post",
url: "/api/v1/workflow/",
Expand Down

0 comments on commit a564fe3

Please sign in to comment.