Skip to content

Commit

Permalink
添加移除参数定义确定移除提示
Browse files Browse the repository at this point in the history
  • Loading branch information
shenzhenMirren committed May 8, 2018
1 parent 588d459 commit e6ba348
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/resources/static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ function passParam() {
<td>
<select class="console-selectbox console-width-12 ng-pristine ng-valid isPassSelectBody" >
<option value="QUERY" selected="selected">QUERY</option>
${bodySelect}
<option value="PATH">PATH</option>
<option value="HEADER">HEADER</option></select>
</td>
Expand Down Expand Up @@ -278,7 +277,9 @@ function sysParamChange(ev) {
}
// 删除tr td tag tag
function delParam(ev) {
$(ev).parent().parent().parent().remove();
if (confirm("确定移除该条定义吗?")) {
$(ev).parent().parent().parent().remove();
}
}
// 是否透传body
function passBodyFun() {
Expand Down

0 comments on commit e6ba348

Please sign in to comment.