提交 1575c194 编写于 作者: guangjun.yang's avatar guangjun.yang

状态2时,直接定位到最上面

上级 fffdbe63
......@@ -15,7 +15,7 @@
borderStyle="0px solid #fff"
:backMethod="from"
></CommonNavbar>
<div class="page-content list-container">
<div class="page-content list-container">
<!-- banner图片 -->
<div v-if="bannerType == 1" class="page-content-img-container">
<img class="banner-img" :src="attachmentUrl" />
......@@ -438,7 +438,9 @@ export default {
// TODO Add by Anndy Yang
if(_this.project.currentProgress == 2) {
this.$nextTick( () => {
window.scrollTo(0, this.$refs.cmeStepRef.offsetTop - 100);
window.scrollTo(0, 0);
// window.scrollTo(0, this.$refs.cmeStepRef.offsetTop - 100);
// window.scrollTo(0, this.$refs.cmeStepRef.offsetTop - 100);
})
}
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册