document.getElementById("s1").addEventListener("toggle",function(e){ var s2=document.getElementById("s2"); var s3=document.getElementById("s3"); if(e.detail.isActive) { if(s2.classList.contains("mui-active")) { mui(s2).switch().toggle(); } if(s3.classList.contains("mui-active")) { mui(s3).switch().toggle(); } s2.classList.add("mui-disabled"); s3.classList.add("mui-disabled"); }求大神解释一下zheduandaima
添加回答
举报
0/150
提交
取消