self.currentOpendMenuContent = menuContentEl;
if(self.state === 'allClosed'){ console.log('打开'+menuContentEl.id); self.state = 'hasOpened'; self.currentOpendMenuContent = menuContentEl; } 老师,上面的这段代码代表的是什么意思呢
if(self.state === 'allClosed'){ console.log('打开'+menuContentEl.id); self.state = 'hasOpened'; self.currentOpendMenuContent = menuContentEl; } 老师,上面的这段代码代表的是什么意思呢
2017-09-13
举报