Elements-SY

modify

......@@ -367,9 +367,9 @@ export default {
} else {
this.tableHeader = this.tableHeaders['cargo']
}
if(this.$route.params.hasOwnProperty('hander') == false){
// if(this.$route.params.hasOwnProperty('hander') == false){
// this.select(0,'create')
}
// }
// this.$nextTick(()=>{
// let height = window.innerHeight - this.$refs.cargoForm.$el.offsetHeight - 50;
......@@ -425,14 +425,14 @@ export default {
this.planeNoChange(this.formData.cargoPlaneNo.split(';'))
this.select(0, 'activated')
} else {
//否则请求原页面缓存状态
if (this.$store.state.tagsView.cachedViews.length > 0) {
this.$store.state.tagsView.cachedViews.forEach(item => {
if (item === 'QueryCargo') {
this.select()
}
})
}
// //否则请求原页面缓存状态
// if (this.$store.state.tagsView.cachedViews.length > 0) {
// this.$store.state.tagsView.cachedViews.forEach(item => {
// if (item === 'QueryCargo') {
// this.select()
// }
// })
// }
}
},
......