zsydgithub 2 years ago
parent
commit
6561acd191
1 changed files with 1 additions and 1 deletions
  1. 1 1
      6_Dom/3_选项卡.html

+ 1 - 1
6_Dom/3_选项卡.html

@@ -69,7 +69,7 @@
           btns[j].className = ''
           content[j].className = 'actived'
         }
-        this.className = 'selected'
+        this.className = 'selected' 
         console.log(this.index)
         content[this.index].className = 'actived choice'
       }