Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
| 12 | <label class="layui-form-label">开启匿名</label> | 12 | <label class="layui-form-label">开启匿名</label> |
| 13 | <div class="layui-input-block"> | 13 | <div class="layui-input-block"> |
| 14 | <div class="layui-input-10"> | 14 | <div class="layui-input-10"> |
| 15 | - <input type="radio" name="isnoshow" id='show' value="1" title="开启" lay-filter="isnoshow_filter"> | 15 | + <input type="radio" name="isnoshow" id='show' value="1" checked='true' title="开启" lay-filter="isnoshow_filter"> |
| 16 | <input type="radio" name="isnoshow" id='hide' value="0" title="关闭" lay-filter="isnoshow_filter"> | 16 | <input type="radio" name="isnoshow" id='hide' value="0" title="关闭" lay-filter="isnoshow_filter"> |
| 17 | </div> | 17 | </div> |
| 18 | </div> | 18 | </div> |
| @@ -110,7 +110,7 @@ | @@ -110,7 +110,7 @@ | ||
| 110 | //接单设备显示/隐藏 | 110 | //接单设备显示/隐藏 |
| 111 | form.on('radio(isnoshow_filter)', function(data){ | 111 | form.on('radio(isnoshow_filter)', function(data){ |
| 112 | var dataval=$(data.elem).attr("value"); | 112 | var dataval=$(data.elem).attr("value"); |
| 113 | - if(dataval==1){ | 113 | + if(!dataval){ |
| 114 | $("#author_image").show(); | 114 | $("#author_image").show(); |
| 115 | $("#author").show(); | 115 | $("#author").show(); |
| 116 | }else{ | 116 | }else{ |
-
Please register or login to post a comment