mirror of https://github.com/jumpserver/jumpserver
fix nav active bug
parent
c4b099d2a5
commit
2e81f0cf95
|
@ -34,8 +34,8 @@
|
|||
if (s1 == ''){
|
||||
$('#index').addClass('active')
|
||||
} else {
|
||||
//$("#"+s1).addClass('active');
|
||||
//$('#'+s1+' .'+s2).addClass('active');
|
||||
$("#"+s1).addClass('active');
|
||||
$('#'+s1+' .'+s2).addClass('active');
|
||||
console.log(s1)
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue