zsydgithub 2 年之前
父节点
当前提交
6561acd191
共有 1 个文件被更改,包括 1 次插入1 次删除
  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'
       }