|
@@ -423,7 +423,14 @@ export default {
|
|
|
this.sid = query.sid
|
|
|
// this.fid = query.fid
|
|
|
this.getProjectRecordList()
|
|
|
- await this.getFollowPInfo()
|
|
|
+ await this.getFollowPInfo().then(() => {
|
|
|
+ // 从详情页过来时,跳转定位到项目公告
|
|
|
+ if (this.$route.query.mark === '1') {
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.timeList.$el.scrollIntoView()
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
await this.getJoinBidInfo()
|
|
|
},
|
|
|
beforeDestroy() {
|
|
@@ -433,12 +440,6 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
window.addEventListener('click', this.doClosePopover)
|
|
|
- // 从详情页过来时,跳转定位到项目公告
|
|
|
- if (document.referrer && document.referrer?.indexOf('/content/') !== -1) {
|
|
|
- this.$nextTick(() => {
|
|
|
- this.$refs.timeList.$el.scrollIntoView()
|
|
|
- })
|
|
|
- }
|
|
|
},
|
|
|
beforeMount() {
|
|
|
window.removeEventListener('click', this.doClosePopover)
|