提交 8f814cae authored 作者: lihuihui's avatar lihuihui

课程讨论模块提取

上级 52a57de5
......@@ -66,10 +66,10 @@ export default {
},
mounted () {
this.loadAjax()
window.addEventListener('resize', this.resizeRoot.bind(this), false)
// window.addEventListener('resize', this.resizeRoot.bind(this), false)
},
destroyed () {
window.removeEventListener('resize', this.resizeRoot.bind(this), false)
// window.removeEventListener('resize', this.resizeRoot.bind(this), false)
},
updated () {
this.resizeRoot()
......@@ -93,6 +93,7 @@ export default {
loadAjax () {
let pathUrl = ''
this.tabs.map((item, index) => {
debugger
if (item.isShow) {
pathUrl = item.path
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论