Skip to content

Conversation

@chaihongjun
Copy link

tab选项卡 第一阶段

tab选项卡第一阶段

tabs[i].onclick = function() {
//单击任意tab的时候,先初始化全部不active
for (var i = 0; i < tabs.length; i++) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

个人建议这里的 var i 跟外面的别一样, 可以:

  1. 用闭包处理
  2. 换个名...

弹出层 第一阶段
@chaihongjun
Copy link
Author

aaa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants