Commit 336960b9e4c417bbb3c758af04f7ddae4cf1bf74
1 parent
a31fecec
频道修改
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/resources/templates/page/channel.html
| ... | ... | @@ -393,7 +393,7 @@ |
| 393 | 393 | var receive = [[${param.receive}]] ? [[${param.receive}]][0] : null; |
| 394 | 394 | var stateIsNull = $.trim(state) == ""; |
| 395 | 395 | var receiveIsNull = $.trim(receive) == ""; |
| 396 | - if ( receive == '0' && stateIsNull) { | |
| 396 | + if ( receive == '0' &&state != '0') { | |
| 397 | 397 | $("#quanbu").addClass("btn-info"); |
| 398 | 398 | } else if (state == '0' && receive == '0') { |
| 399 | 399 | $("#daishen").addClass("btn-warning"); | ... | ... |