update:更新刷新无内容bug

This commit is contained in:
2021-09-27 15:46:11 +08:00
parent e1091e9212
commit 6c21c8b36e
10 changed files with 156 additions and 51 deletions

View File

@@ -54,6 +54,9 @@ export default {
},
methods: {
onInit() {
if (this.$route.params.id) {
window.sessionStorage.setItem("bcxyId", this.$route.params.id);
}
mgop({
api: "mgop.kykj.houseexpropriat.getagreementinfop",
host: "https://mapi.zjzwfw.gov.cn/",
@@ -62,7 +65,7 @@ export default {
data: {
ticket:
this.$route.query.ticket || window.sessionStorage.getItem("ticket"),
id: this.$route.params.id
id: window.sessionStorage.getItem("bcxyId")
},
appKey: "es4b8zmz+2001833218+dehllx",
onSuccess: result => {