init
This commit is contained in:
parent
76e8ba8c5d
commit
d5f88c5d33
@ -63,6 +63,12 @@ export default{
|
|||||||
// 监听滚动事件
|
// 监听滚动事件
|
||||||
window.addEventListener('scroll', this.handleScroll);
|
window.addEventListener('scroll', this.handleScroll);
|
||||||
console.log(request,111)
|
console.log(request,111)
|
||||||
|
for(var i in this.routerlist){
|
||||||
|
if(this.$route.path==this.routerlist[i]){
|
||||||
|
this.activeIndex=i
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
// 组件销毁前移除滚动事件监听
|
// 组件销毁前移除滚动事件监听
|
||||||
|
@ -30,6 +30,9 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-if="!PrijectList.length" style="height: 400px;display: flex;justify-content: center;align-items: center;width: 100%;">
|
||||||
|
<div style="color: #999;">该工程暂无内容展示</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<el-pagination style="text-align: center;margin: 60px;"
|
<el-pagination style="text-align: center;margin: 60px;"
|
||||||
background
|
background
|
||||||
|
Loading…
Reference in New Issue
Block a user