锚点定位影响地址
This commit is contained in:
@@ -205,13 +205,13 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
searchContactDetail(row) {
|
||||
window.location.hash = '#firstAnchor'
|
||||
document.documentElement.scrollTop = this.$el.querySelector('#firstAnchor').offsetTop
|
||||
searchContactDetail(row.采购合同流水号).then(response => {
|
||||
this.contractDetail1 = response.data[0].合同内容
|
||||
})
|
||||
},
|
||||
searchOfflineContactDetail(row) { // 查询离线合同明细
|
||||
window.location.hash = '#secondAnchor'
|
||||
document.documentElement.scrollTop = this.$el.querySelector('#secondAnchor').offsetTop
|
||||
searchMateriel(row.离线合同流水号).then(response => {
|
||||
this.contractDetail2 = response.data
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user